/* 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(--secondary-color, #FFFFFF); /* Body background is light */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff; /* Text color for dark background */
    background-color: #017439; /* Brand color as background */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.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: #ffffff;
    border: 2px solid #ffffff;
}

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

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

/* Sections */
.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__features-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-fishing-games__dark-section {
    background-color: #017439;
    color: #ffffff;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: inherit;
}

/* Content Wrappers for text and image side-by-side */
.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.page-fishing-games__content-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

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

.page-fishing-games__image {
    flex-shrink: 0;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__tip-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section cards */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card styles for light background sections */
.page-fishing-games__promotions-section .page-fishing-games__promo-card {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__feature-icon,
.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

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

.page-fishing-games__feature-card p,
.page-fishing-games__promo-card p,
.page-fishing-games__tip-card p {
    font-size: 1em;
    color: inherit;
    flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary,
.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    margin-top: 20px;
    width: auto;
    align-self: center;
}

.page-fishing-games__promotions-section .page-fishing-games__promo-card .page-fishing-games__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border-color: #C30808;
}
.page-fishing-games__promotions-section .page-fishing-games__promo-card .page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-fishing-games__promotions-section .page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439;
    border-color: #017439;
}
.page-fishing-games__promotions-section .page-fishing-games__promo-card .page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Guide List */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    counter-reset: step-counter;
}

.page-fishing-games__guide-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
}

.page-fishing-games__guide-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #017439;
    color: #ffffff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
}

.page-fishing-games__tips-conclusion {
    margin-top: 50px;
    font-size: 1.2em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.1);
    user-select: none;
}

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

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

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

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

/* CTA Section */
.page-fishing-games__cta-container {
    padding: 60px 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.page-fishing-games__cta-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #017439;
}

.page-fishing-games__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

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

/* Mobile Responsive Styles */
@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;
        padding-bottom: 60px;
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .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;
    }

    .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__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .page-fishing-games__image {
        max-width: 100%;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

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

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

    .page-fishing-games__feature-icon,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__faq-list {
        margin-top: 30px;
    }

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

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

    /* Ensure all content containers are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific for images within content sections */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}