/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

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

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__video-section,
.page-fishing-games__advanced-strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__benefits-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__dark-section {
    background-color: var(--dark-bg-1, #0d0d0d); /* Assuming shared.css defines --dark-bg-1 */
    color: #ffffff;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh; /* Ensure hero section has a decent height */
}

.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;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

/* 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;
    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;
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

.page-fishing-games__btn-center {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles and Paragraphs */
.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: inherit; /* Inherit color from section (dark/light bg) */
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.page-fishing-games__text-center {
    text-align: center;
}

/* Features Section */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    min-height: 450px; /* Ensure cards have similar height */
}

.page-fishing-games__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure image fills card width */
    min-height: 200px; /* Minimum image size */
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take available space */
}

/* Guide Section */
.page-fishing-games__guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__guide-step {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__guide-step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    object-fit: cover;
}

/* Advanced Strategy Section */
.page-fishing-games__image-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
    align-items: center;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__sub-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    margin-top: 25px;
}

.page-fishing-games__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: inherit;
}

.page-fishing-games__list li {
    margin-bottom: 8px;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px; /* Ensure cards have similar height */
}

.page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure image fills card width */
    min-height: 200px; /* Minimum image size */
}

/* Benefits Section */
.page-fishing-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__benefit-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__benefit-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    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-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    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(255, 255, 255, 0.1);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

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

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

/* Rotate toggle for open state */
.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* + to X */
}

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

/* Call to Action Section */
.page-fishing-games__cta-section {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__paragraph {
    color: #ffffff;
}

/* Links within content */
.page-fishing-games__paragraph a,
.page-fishing-games__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__paragraph a:hover,
.page-fishing-games__faq-answer a:hover {
    color: #1e87b3;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__image-content-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        text-align: center;
    }
    .page-fishing-games__content-image {
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        padding: 0 15px;
    }
}

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

    .page-fishing-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-cta-buttons,
    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-fishing-games__paragraph {
        font-size: 0.95em;
    }
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__video-section,
    .page-fishing-games__advanced-strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 60px 0;
    }

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

    /* Videos responsiveness */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Containers and sections for mobile overflow prevention */
    .page-fishing-games__container,
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-content,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__image-content-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__benefits-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: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__promo-card,
    .page-fishing-games__benefit-item {
        padding: 20px;
    }
    .page-fishing-games__hero-image-wrapper {
        filter: brightness(0.6); /* Slightly less dark for smaller screens */
    }
}