/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared, ensuring dark background contrast */
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__dark-bg {
    background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark background */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-fishing-games__subtitle {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for subtitles */
}

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

.page-fishing-games__text-block {
    text-align: left;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__text-block p {
    margin-bottom: 1em;
}

.page-fishing-games__list {
    list-style: disc;
    padding-left: 25px;
    text-align: left;
    margin-bottom: 20px;
}

.page-fishing-games__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    text-align: left;
    margin-bottom: 20px;
}

.page-fishing-games__list-item {
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
    background-color: #0d0d0d; /* Slightly darker background for hero to make image pop */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    margin-right: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #26A9E0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.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;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    filter: brightness(0.7); /* Darken background image for text readability */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* No color filter */
}

/* 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;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1e87b5;
    border-color: #1e87b5;
    transform: translateY(-3px);
}

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

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

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

/* Introduction Section */
.page-fishing-games__introduction {
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
    text-align: left;
}

.page-fishing-games__introduction .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__introduction .page-fishing-games__subtitle {
    color: #ffffff;
}

.page-fishing-games__introduction .page-fishing-games__text-block p {
    color: #f0f0f0;
}

.page-fishing-games__introduction .page-fishing-games__list-item {
    color: #f0f0f0;
}

.page-fishing-games__image-wrapper {
    text-align: center;
    margin-top: 30px;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    filter: none; /* No color filter */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Game Types Section */
.page-fishing-games__game-types {
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

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

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 280px; /* Ensure cards have some height */
}

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

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

.page-fishing-games__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide {
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
    text-align: left;
}

.page-fishing-games__guide .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__guide .page-fishing-games__subtitle {
    color: #ffffff;
}

.page-fishing-games__guide .page-fishing-games__text-block p {
    color: #f0f0f0;
}

.page-fishing-games__guide .page-fishing-games__list-item {
    color: #f0f0f0;
}

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
    background-color: rgba(38, 169, 224, 0.15); /* Slightly stronger brand color for contrast */
    color: #ffffff;
}

.page-fishing-games__tips-strategies .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__tips-strategies .page-fishing-games__section-description {
    color: #f0f0f0;
}

.page-fishing-games__tips-strategies .page-fishing-games__card {
    background-color: #ffffff; /* Light background for cards in dark section */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__tips-strategies .page-fishing-games__card-title {
    color: #26A9E0; /* Brand color for titles on light cards */
}

.page-fishing-games__tips-strategies .page-fishing-games__card-text {
    color: #333333;
}

/* Promotions Section */
.page-fishing-games__promotions {
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
    filter: none; /* No color filter */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-fishing-games__promo-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq {
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

.page-fishing-games__faq-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-fishing-games__faq-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-fishing-games__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    filter: none;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__faq-list {
    flex: 2;
    max-width: 800px; /* Adjust max-width as it's now part of a flex container */
    margin-left: auto; /* Center if it's the only element */
    margin-right: auto;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for items on dark background */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.15); /* Slightly stronger brand color for question background */
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.25);
}

.page-fishing-games__faq-text {
    flex-grow: 1;
    text-align: left;
}

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

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

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

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

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

.page-fishing-games__faq-answer .page-fishing-games__btn-primary {
    margin-top: 10px;
}

/* Conclusion Section */
.page-fishing-games__conclusion {
    background-color: #26A9E0; /* Strong brand color for conclusion */
    color: #ffffff;
    padding: 80px 0;
}

.page-fishing-games__conclusion .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__conclusion .page-fishing-games__text-block p {
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

    .page-fishing-games__subtitle {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        text-align: center;
    }

    .page-fishing-games__hero-content {
        margin-right: 0;
        margin-bottom: 30px;
        order: 2; /* Content below image on mobile */
    }

    .page-fishing-games__hero-image-wrapper {
        position: relative;
        height: 300px; /* Adjust height for mobile hero image */
        margin-bottom: 20px;
        order: 1;
        opacity: 1; /* Make image more visible on mobile */
        filter: brightness(0.8);
    }
    
    .page-fishing-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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 {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }

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

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

    .page-fishing-games__card-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure all image containers are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__image-wrapper,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile button group responsiveness */
    .page-fishing-games__hero-buttons,
    .page-fishing-games__cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }

    .page-fishing-games__faq-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__faq-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-fishing-games__faq-list {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }

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

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

    .page-fishing-games__subtitle {
        font-size: 1.2em;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}