/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

/* Specific section background/text colors for contrast */
.page-fishing-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__dark-bg {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add horizontal padding for content within container */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit; /* Inherit color from section background */
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: inherit;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit;
}

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
}

.page-fishing-games__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent; /* Default for primary, will be set for secondary */
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #FFFFFF;
}

.page-fishing-games__btn-primary:hover {
    background-color: #d46a00;
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Lists */
.page-fishing-games__list,
.page-fishing-games__ordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 20px;
}

.page-fishing-games__list li,
.page-fishing-games__ordered-list li {
    margin-bottom: 10px;
}

/* Game Cards */
.page-fishing-games__game-cards,
.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Ensure dark text on light card background */
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-fishing-games__card-title a {
    color: #26A9E0; /* Brand color for card titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: #1a7aab;
}

.page-fishing-games__card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: #333333; /* Ensure dark text on light card background */
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #F8F8F8;
    border-bottom: 1px solid #E0E0E0;
    color: #26A9E0; /* Brand color for question text */
}

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

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

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

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #eee;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
}

/* Hide default details marker */
.page-fishing-games__faq-item summary {
    list-style: none;
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}


/* --- Responsive Styles --- */

/* Mobile adaptation for images, videos, buttons, and general content */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Fixed header offset for mobile */
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 450px;
    }

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

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

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

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

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

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

    .page-fishing-games__sub-title {
        font-size: 1.4em;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__content-wrapper--reversed {
        flex-direction: column; /* Still column for mobile */
    }

    .page-fishing-games__image-container,
    .page-fishing-games__text-block {
        width: 100%;
        max-width: 100%;
    }

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

    /* Ensure card images are also responsive */
    .page-fishing-games__card-image {
        height: auto !important; /* Allow auto height for card images on mobile */
    }

    /* Video responsiveness (if any) */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__game-cards,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card {
        padding: 20px;
    }

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

    .page-fishing-games__faq-answer {
        padding: 10px 20px;
    }
}