/* style/fishing-games.css */

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #26A9E0, #1A7FB5); /* Brand colors */
    color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
}

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

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

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

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

/* General Section Styles */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

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

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand color background */
    color: #FFFFFF;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

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

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

.page-fishing-games__feature-card .page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure image is block level */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__feature-card .page-fishing-games__card-text {
    font-size: 1em;
    color: #F0F8FF;
    text-align: center;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: #F5F5F5; /* Light grey background */
    color: #333333;
}

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

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

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 15px;
    background-color: #E0F2F7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-fishing-games__step-card .page-fishing-games__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: #1A7FB5; /* Darker brand color */
    color: #FFFFFF;
}

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

.page-fishing-games__tips-section .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.1em;
    color: #F0F8FF;
}

.page-fishing-games__list-item strong {
    color: #FFFFFF;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-fishing-games__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-text {
    font-size: 1em;
    margin: 0 20px 20px;
    color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand color background */
    color: #FFFFFF;
}

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

.page-fishing-games__faq-section .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark bg */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    color: #FFFFFF;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFFFF;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or just a dash */
    content: '−'; /* Change to minus */
}

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

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

.page-fishing-games__faq-answer .page-fishing-games__paragraph {
    color: #F0F8FF;
}


/* Call to Action Section */
.page-fishing-games__cta-section {
    padding: 60px 0;
    background-color: #F5F5F5;
    text-align: center;
    color: #333333;
}

.page-fishing-games__cta-center {
    text-align: center;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 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;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1A7FB5;
    border-color: #1A7FB5;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #E0F2F7;
    color: #1A7FB5;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Image specific styles to ensure min size */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
}

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

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

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-fishing-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

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

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

    .page-fishing-games__feature-card .page-fishing-games__card-image,
    .page-fishing-games__promo-card .page-fishing-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size even on mobile */
        min-height: 200px !important;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

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

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

    /* Ensure content area images don't display smaller than 200px */
    .page-fishing-games__content-area img,
    .page-fishing-games__introduction-section img,
    .page-fishing-games__why-choose-section img,
    .page-fishing-games__how-to-play-section img,
    .page-fishing-games__promotions-section img {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

/* Color Contrast Fixes (as per instructions) */
.page-fishing-games__dark-bg {
  color: #ffffff; /* Deep background with light text */
  background: #26A9E0;
}

.page-fishing-games__light-bg {
  color: #333333; /* Light background with dark text */
  background: #ffffff;
}

.page-fishing-games__medium-bg {
  color: #000000; /* Default dark text for medium backgrounds */
  background: #FFFFFF;
}

/* Ensure all links within main content are readable */
.page-fishing-games a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
}

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

/* Override for specific button colors based on brand guidelines */
.page-fishing-games__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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