/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-fishing-games__dark-bg {
    background-color: #0A2647;
    color: #ffffff;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #F4B400; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__section-title--light {
    color: #ffffff;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-fishing-games__section-description--light {
    color: #ffffff;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: #F4B400;
    margin-bottom: 15px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons are responsive */
}

.page-fishing-games__btn-primary {
    background-color: #F4B400;
    color: #0A2647;
    border: 2px solid #F4B400;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #F4B400;
    color: #0A2647;
}

.page-fishing-games__btn-primary--center,
.page-fishing-games__btn-secondary--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    min-width: 200px; /* Minimum width for larger buttons */
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    padding-bottom: 80px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-content {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    color: #F4B400;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-fishing-games__intro-text {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games__hero-image-wrapper {
    margin-top: 40px;
    text-align: center;
}

.page-fishing-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size for images */
    min-height: 200px; /* Min size for images */
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: #0A2647; /* Dark background */
    color: #ffffff;
}

.page-fishing-games__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.page-fishing-games__image-text-grid > div {
    flex: 1;
}

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

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__text-content p {
    color: #f0f0f0;
}

.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-fishing-games__feature-list li {
    background-color: rgba(244, 180, 0, 0.1);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #F4B400;
    border-radius: 5px;
    font-size: 1.05em;
    color: #ffffff;
}

.page-fishing-games__list-item-title {
    color: #F4B400;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #000; /* Fallback for video area */
}

.page-fishing-games__video {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
    color: #333333;
}

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

.page-fishing-games__advantage-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333333; /* Dark text for light background */
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #0A2647; /* Main brand color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-link {
    display: inline-block;
    margin-top: 20px;
    color: #F4B400;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.page-fishing-games__card-link:hover {
    border-color: #F4B400;
}

.page-fishing-games__wide-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Game Guides Section */
.page-fishing-games__game-guides-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__guide-card {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    background-color: rgba(244, 180, 0, 0.1); /* Light gold tint for dark background */
    border: 1px solid rgba(244, 180, 0, 0.3);
    color: #ffffff;
}

.page-fishing-games__card-title--light {
    color: #F4B400;
}

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

.page-fishing-games__card-link--light {
    color: #ffffff;
}

.page-fishing-games__card-link--light:hover {
    border-color: #ffffff;
}

/* Mobile Section */
.page-fishing-games__mobile-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.page-fishing-games__mobile-content > div {
    flex: 1;
}

.page-fishing-games__download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__mobile-image-wrapper {
    text-align: center;
}

.page-fishing-games__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    background-color: rgba(244, 180, 0, 0.1); /* Light gold tint for question background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(244, 180, 0, 0.2);
}

.page-fishing-games__faq-title {
    margin: 0;
    color: #F4B400; /* Auxiliary color for FAQ questions */
}

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

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

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

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0A2647;
}

/* Images Global */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images cover their area */
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-fishing-games__hero-content {
        padding: 40px 0;
    }
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__intro-text {
        font-size: 1.1em;
    }
    .page-fishing-games__image-text-grid {
        flex-direction: column;
    }
    .page-fishing-games__mobile-content {
        flex-direction: column-reverse; /* Text first on mobile */
    }
    .page-fishing-games__advantages-grid,
    .page-fishing-games__guide-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-section {
        padding-bottom: 60px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
    .page-fishing-games__section-description {
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__video-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__game-guides-section,
    .page-fishing-games__mobile-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 60px 0;
    }

    /* Mobile image adaptation */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Mobile video adaptation */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-width: 200px !important;
        min-height: 200px !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;
    }
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Card/Section padding for mobile */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__game-guides-section,
    .page-fishing-games__mobile-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__download-buttons {
        flex-direction: column;
    }
}