/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background #121212 */
    background-color: transparent; /* Let body background from shared.css show through */
    overflow-x: hidden; /* Prevent horizontal scroll on wider elements */
}

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

/* Section styling */
.page-fishing-games__hero-section,
.page-fishing-games__about-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* Dark background sections */
.page-fishing-games__dark-section {
    background-color: #017439; /* Brand main color for dark sections */
    color: #ffffff;
}

/* Section titles and descriptions */
.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff; /* White for all titles against dark body/brand green */
    font-weight: bold;
}

.page-fishing-games__section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for descriptions */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Fallback background for hero */
}

.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.4; /* Slightly dim image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

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

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

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

/* 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: #017439; /* Brand main color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

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

/* About Section */
.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-fishing-games__text-block p strong {
    color: #FFFF00; /* Highlight important keywords */
}

.page-fishing-games__image-block {
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Game Types Section - Cards */
.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-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for card titles */
    font-weight: bold;
}

.page-fishing-games__card-text {
    font-size: 1.05em;
    line-height: 1.7;
    flex-grow: 1; /* Allow text to grow */
}

/* Guide and Strategy Sections - Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
    list-style-position: inside;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 0;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
    padding-left: 25px; /* Indent for list items */
    position: relative;
}

.page-fishing-games__ordered-list li::marker {
    font-weight: bold;
    color: #FFFF00;
}
.page-fishing-games__unordered-list li::before {
    content: "•";
    color: #FFFF00;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

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

.page-fishing-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.page-fishing-games__advantage-icon {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__advantage-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FFFF00;
    font-weight: bold;
}

.page-fishing-games__advantage-text {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1;
}

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

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

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

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

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

.page-fishing-games__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or just change text to '−' */
    /* content: '−'; Handled by JS */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding is 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    font-size: 1.05em;
}

.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; /* Restore padding on active */
}

.page-fishing-games__faq-answer p {
    margin: 0;
}

/* Call to Action Section */
.page-fishing-games__cta-container {
    background-color: #017439;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* 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__hero-description,
    .page-fishing-games__section-description {
        font-size: 1.1em;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__image-block {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific padding for sections to prevent content sticking to edges */
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }

    /* Fixed header offset for video section if it were the first element. */
    /* .page-fishing-games__video-section { */
    /*    padding-top: var(--header-offset, 120px) !important; */
    /* } */

    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description,
    .page-fishing-games__section-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-left: auto;
        margin-right: auto;
    }
    .page-fishing-games__cta-buttons--center {
        flex-direction: column;
        gap: 15px;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Image containers responsiveness */
    .page-fishing-games__image-block,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__card,
    .page-fishing-games__advantage-item,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Ensure no overflow */
    }
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__card-image,
    .page-fishing-games__advantage-icon {
        height: auto; /* Allow height to adjust */
        max-height: 250px; /* Cap max height for smaller screens */
    }

    /* Video responsiveness (if any) */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* List item padding adjustment for smaller screens */
    .page-fishing-games__ordered-list li,
    .page-fishing-games__unordered-list li {
        padding-left: 0;
        text-align: left;
    }
    .page-fishing-games__ordered-list,
    .page-fishing-games__unordered-list {
        margin-left: 15px; /* Provide some left margin for lists */
        margin-right: 15px;
    }
    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 15px 20px;
    }
}