/* style/fishing-games.css */

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

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

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

/* Color Contrast Helpers */
.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__hero-title,
.page-fishing-games__dark-bg .page-fishing-games__hero-description,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-description,
.page-fishing-games__dark-bg .page-fishing-games__step-title,
.page-fishing-games__dark-bg .page-fishing-games__step-description,
.page-fishing-games__dark-bg .page-fishing-games__tip-title,
.page-fishing-games__dark-bg .page-fishing-games__tip-description,
.page-fishing-games__dark-bg .page-fishing-games__promo-title,
.page-fishing-games__dark-bg .page-fishing-games__promo-description,
.page-fishing-games__dark-bg .page-fishing-games__text-block {
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__feature-description,
.page-fishing-games__light-bg .page-fishing-games__step-title,
.page-fishing-games__light-bg .page-fishing-games__step-description,
.page-fishing-games__light-bg .page-fishing-games__tip-title,
.page-fishing-games__light-bg .page-fishing-games__tip-description,
.page-fishing-games__light-bg .page-fishing-games__game-title,
.page-fishing-games__light-bg .page-fishing-games__game-description,
.page-fishing-games__light-bg .page-fishing-games__text-block {
    color: #333333;
}

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

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

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

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

.page-fishing-games__hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
}

/* Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
}

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

.page-fishing-games__feature-card {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 16px;
    line-height: 1.6;
}

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

.page-fishing-games__game-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #ffffff;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-fishing-games__game-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #017439;
}

.page-fishing-games__game-description {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 20px 20px;
}

/* How To Play Steps */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-fishing-games__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-fishing-games__step-description {
    font-size: 17px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Tips & Strategies */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-fishing-games__tip-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #017439;
}

.page-fishing-games__tip-description {
    font-size: 17px;
    line-height: 1.6;
}

/* Promotions Section */
.page-fishing-games__promo-banner {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7);
}

.page-fishing-games__promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.page-fishing-games__promo-title {
    font-size: 38px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__promo-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 19px;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e8f5e9; /* Light green for question background */
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.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: #ffffff;
}

.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 p {
    font-size: 17px;
    line-height: 1.6;
    color: #333333;
}

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

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

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

    .page-fishing-games__hero-description {
        font-size: 20px;
    }

    .page-fishing-games__section-title {
        font-size: 32px;
    }

    .page-fishing-games__promo-title {
        font-size: 32px;
    }

    .page-fishing-games__promo-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 80px 0;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

    .page-fishing-games__hero-title {
        font-size: 36px;
    }

    .page-fishing-games__hero-description {
        font-size: 18px;
    }

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

    .page-fishing-games__text-block {
        font-size: 16px;
    }

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

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__tip-title {
        font-size: 20px;
    }

    .page-fishing-games__feature-description,
    .page-fishing-games__game-description,
    .page-fishing-games__step-description,
    .page-fishing-games__tip-description,
    .page-fishing-games__faq-answer p {
        font-size: 15px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .page-fishing-games__cta-buttons,
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__tips-list,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

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

    .page-fishing-games__promo-title {
        font-size: 26px;
    }

    .page-fishing-games__promo-description {
        font-size: 16px;
    }
    
    .page-fishing-games__faq-question {
        font-size: 17px;
        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;
    }
}

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

    .page-fishing-games__hero-description {
        font-size: 16px;
    }

    .page-fishing-games__section-title {
        font-size: 24px;
    }

    .page-fishing-games__promo-title {
        font-size: 22px;
    }

    .page-fishing-games__promo-description {
        font-size: 14px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 15px;
        padding: 10px 15px;
    }
}

/* No filter on images */
.page-fishing-games img {
    filter: none; 
}

/* Specific filter for hero overlay for readability */
.page-fishing-games__hero-image {
    filter: brightness(0.6);
}
.page-fishing-games__promo-image {
    filter: brightness(0.7);
}