/* style/fishing-games.css */

/* Base styles for the page content, considering body background is dark #0a0a0a */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Let body background from shared.css show through */
}

/* Ensure content area images are not too small */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below images */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

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

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

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

.page-fishing-games__hero-cta {
    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;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFFFF; /* Default for dark sections */
}

.page-fishing-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Default for dark sections */
}

/* Dark Section - Brand Color Background */
.page-fishing-games__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 80px 0;
}
.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-intro {
    color: #ffffff;
}

/* Light Section - White Background */
.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}
.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-intro {
    color: #333333;
}

/* About Section */
.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-item {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__feature-text {
    color: #f0f0f0;
}

/* Game Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
}

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

.page-fishing-games__card {
    background: rgba(255, 255, 255, 0.05); /* Very subtle transparent white */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-fishing-games__card-content {
    padding: 25px;
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-fishing-games__card-text {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Strategy Section */
.page-fishing-games__strategy-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-fishing-games__strategy-content {
    flex: 1;
}

.page-fishing-games__strategy-image-wrapper {
    flex: 1;
}

.page-fishing-games__strategy-image {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #333333;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 10px;
}

.page-fishing-games__strategy-list strong {
    color: #017439; /* Brand color for emphasis */
}

/* Combo Section */
.page-fishing-games__combo-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-fishing-games__combo-image-wrapper {
    flex: 1;
}

.page-fishing-games__combo-image {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__combo-content {
    flex: 1;
}

.page-fishing-games__combo-content p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-fishing-games__combo-content .page-fishing-games__btn-primary,
.page-fishing-games__combo-content .page-fishing-games__btn-secondary {
    margin-right: 15px;
    margin-top: 10px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    background: #f8f8f8; /* Light background for promo card */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-fishing-games__promo-content {
    padding: 25px;
}

.page-fishing-games__promo-title {
    font-size: 1.6em;
    color: #017439; /* Brand color */
    margin-bottom: 10px;
}

.page-fishing-games__promo-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
}

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

.page-fishing-games__cta-content {
    max-width: 800px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

.page-fishing-games__faq-item {
    background: #f8f8f8; /* Light background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    font-weight: bold;
    color: #017439; /* Brand color for questions */
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide marker for Webkit browsers */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: #333333; /* Dark text for question */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    margin-left: 15px;
    color: #017439;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px 25px;
    background-color: #ffffff;
    color: #555555;
    font-size: 1em;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF; /* White text for contrast */
    border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
    background-color: #005a2e; /* Darker green on hover */
    border-color: #005a2e;
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand primary color text for contrast */
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
}

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

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

/* Specific colors from Custom Palette - Applied if button text matches */
/* The current HTML does not use specific 'register'/'login' classes for these buttons, */
/* so these styles would apply if those classes were added to relevant buttons. */
.page-fishing-games__btn-register {
    background-color: #C30808; /* Red for register */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-login {
    background-color: #C30808; /* Red for login */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__strategy-flex,
    .page-fishing-games__combo-flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-fishing-games__combo-image-wrapper,
    .page-fishing-games__strategy-image-wrapper {
        order: -1; /* Image first on mobile */
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-intro {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile button responsiveness */
    .page-fishing-games__hero-cta,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-register,
    .page-fishing-games__btn-login,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure containers do not cause horizontal scroll */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-cta,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promos-grid,
    .page-fishing-games__features-grid,
    .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; /* Prevent horizontal scroll */
    }

    .page-fishing-games__card-image,
    .page-fishing-games__promo-image {
        height: auto !important; /* Allow height to adjust for mobile */
    }
}