/* style/fishing-games.css */

/* Base Styles for .page-fishing-games */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* Light background for the page content */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Responsive height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff; /* White text on dark/image background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Container & Titles */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #000080; /* Dark blue for section titles */
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__highlight {
    color: #000080;
    font-weight: bold;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #000080; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    color: #000060;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Section Backgrounds */
.page-fishing-games__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-fishing-games__dark-section {
    background-color: #000080; /* Dark blue background */
    color: #ffffff; /* White text */
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #FFD700; /* Gold title on dark background */
}

.page-fishing-games__dark-section .page-fishing-games__highlight {
    color: #FFD700;
}

/* Features Section */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark blue */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure images fill card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold title */
}

.page-fishing-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-fishing-games__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-fishing-games__step-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000080;
}

.page-fishing-games__step-description {
    font-size: 1em;
    line-height: 1.6;
}

.page-fishing-games__step-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-description a:hover {
    text-decoration: underline;
}

/* Popular Games Section */
.page-fishing-games__game-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark blue */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for game images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FFD700;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Tips Section */
.page-fishing-games__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-fishing-games__tip-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-fishing-games__tip-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__tip-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000080;
}

.page-fishing-games__tip-description {
    font-size: 1em;
    line-height: 1.6;
}

/* CTA Banner */
.page-fishing-games__cta-banner {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
}

.page-fishing-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 30px;
}

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #000080;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question:hover {
    background-color: #e6e6e6;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to a cross/minus */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333333;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Add some padding to the last paragraph */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }

    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }

    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__cta-title {
        font-size: 1.8em;
    }

    .page-fishing-games__cta-description {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Specific container responsiveness for images/cards */
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__cta-banner,
    .page-fishing-games__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__game-showcase,
    .page-fishing-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__step-card,
    .page-fishing-games__game-card,
    .page-fishing-games__tip-card {
        padding: 20px;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image {
        height: auto; /* Allow height to adjust naturally */
        min-width: 200px;
        min-height: 200px;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px;
    }
}