/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--background-color, #f0f2f5); /* Ensures light background */
}

.page-fishing-games__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-fishing-games__content-container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__section-title--white {
    color: #FFFFFF;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-fishing-games__text-block--white {
    color: #FFFFFF;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for mobile */
}

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

.page-fishing-games__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
    background-color: #26A9E0; /* Dark background for hero */
    color: #FFFFFF;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
}

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

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    display: block;
}

/* --- Introduction Section --- */
.page-fishing-games__introduction-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__image-and-text {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__image-inline {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

/* --- Game Features Section --- */
.page-fishing-games__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 80px 0;
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__card-text {
    font-size: 1em;
    text-align: justify;
}

/* --- Strategy Guide Section --- */
.page-fishing-games__strategy-guide {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__list-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.page-fishing-games__list-item-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__list-item-text {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* --- Mobile Experience Section --- */
.page-fishing-games__mobile-experience {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-fishing-games__mobile-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-fishing-games__mobile-text {
    flex: 1;
}

.page-fishing-games__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-fishing-games__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}

.page-fishing-games__cta-buttons--mobile {
    justify-content: flex-start;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-fishing-games__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
    font-weight: bold;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    color: #26A9E0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change to 'x' or '−' */
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px;
}

.page-fishing-games__faq-answer .page-fishing-games__text-block {
    margin-bottom: 0;
    color: #555555;
    font-size: 1em;
}

/* --- Final CTA Section --- */
.page-fishing-games__cta-final {
    padding: 80px 0;
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__image-and-text {
        flex-direction: column;
    }
    .page-fishing-games__image-inline {
        max-width: 80%;
        flex: none;
    }
    .page-fishing-games__mobile-content {
        flex-direction: column;
    }
    .page-fishing-games__mobile-image-wrapper {
        order: -1; /* Image above text on mobile */
    }
    .page-fishing-games__cta-buttons--mobile {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Fixed header spacing for mobile, if shared.css doesn't handle body padding-top */
    .page-fishing-games {
        padding-top: var(--header-offset, 120px); /* Apply if shared doesn't do it globally */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on hero */
    }

    .page-fishing-games__main-title {
        font-size: 2.2em;
    }

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

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

    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__feature-card {
        padding: 20px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__card-image {
        height: 200px;
    }

    .page-fishing-games__image-inline {
        max-width: 100%;
    }

    .page-fishing-games__mobile-content {
        gap: 30px;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }

    .page-fishing-games__faq-title {
        font-size: 1.1em;
    }

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

    /* Mobile image responsiveness (global for page-fishing-games img) */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any) */
    .page-fishing-games video,
    .page-fishing-games__video { /* If a custom video class is used */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure content containers don't overflow */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-features,
    .page-fishing-games__strategy-guide,
    .page-fishing-games__mobile-experience,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final,
    .page-fishing-games__content-container,
    .page-fishing-games__video-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific adjustment for hero content on mobile */
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content area image size lower limit check */
    .page-fishing-games__image-inline,
    .page-fishing-games__card-image,
    .page-fishing-games__mobile-image {
        min-width: 200px;
        min-height: 200px;
    }
}

/* Color Contrast Safeguards */
.page-fishing-games__dark-bg {
    color: #ffffff; /* Deep blue background, white text */
    background: #26A9E0;
}

.page-fishing-games__light-bg {
    color: #333333; /* White/light gray background, dark text */
    background: #ffffff;
}

/* Ensure no CSS filter changes image colors */
.page-fishing-games img {
    filter: none !important;
}