/* style/fishing-games.css */

/* Variables for consistent styling based on custom colors */
:root {
    --page-fishing-games-primary-color: #11A84E;
    --page-fishing-games-secondary-color: #22C768;
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-fishing-games-text-main); /* Default text color for dark background */
    background-color: var(--page-fishing-games-background); /* Overall page background */
}

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

.page-fishing-games__section-title {
    font-size: clamp(2em, 5vw, 2.8em);
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--page-fishing-games-gold);
    border: 2px solid var(--page-fishing-games-gold);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-gold);
    color: var(--page-fishing-games-background);
    transform: translateY(-2px);
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    min-height: 70vh;
    background-color: var(--page-fishing-games-background);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 6vw, 3.5em);
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.page-fishing-games__subtitle {
    font-size: 1.3em;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 60px 20px;
    background-color: var(--page-fishing-games-deep-green);
    text-align: center;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    width: 100%; /* Desktop width */
    max-width: 1000px; /* Max width for video container */
    box-sizing: border-box;
}

.page-fishing-games__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video-cta {
    margin-top: 20px;
    font-size: 1.1em;
    color: var(--page-fishing-games-text-secondary);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background);
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
}

/* How To Start Section */
.page-fishing-games__how-to-start {
    padding: 80px 0;
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__step-card {
    position: relative;
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
    border: 3px solid var(--page-fishing-games-background);
}

/* Safety Section */
.page-fishing-games__safety-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background);
}

.page-fishing-games__safety-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__safety-item {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__safety-icon {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

/* Testimonials Section */
.page-fishing-games__testimonials-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__testimonial-card {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__testimonial-text {
    font-style: italic;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-fishing-games__testimonial-author {
    font-weight: 600;
    color: var(--page-fishing-games-gold);
    text-align: right;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background);
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 12px;
    border: 1px solid var(--page-fishing-games-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    list-style: none;
}

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

.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: 600;
    color: var(--page-fishing-games-text-main);
    background-color: var(--page-fishing-games-deep-green);
    border-bottom: 1px solid var(--page-fishing-games-divider);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid transparent; /* Hide border when open */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
    background-color: var(--page-fishing-games-card-bg);
}

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

/* Bottom CTA Section */
.page-fishing-games__cta-bottom-section {
    padding: 80px 20px;
    background-color: var(--page-fishing-games-deep-green);
    text-align: center;
}

/* Color contrast fixes for light background sections */
.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__card-text {
    color: var(--page-fishing-games-text-main); /* Ensure text is readable on light bg if needed, though this section is dark by default */
}

.page-fishing-games__text-contrast-fix {
    color: var(--page-fishing-games-text-main) !important; /* Force main text color for readability */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5.5vw, 3em);
    }
    .page-fishing-games__subtitle {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8em, 4.5vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
        min-height: auto;
    }

    .page-fishing-games__hero-content,
    .page-fishing-games__video-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-start,
    .page-fishing-games__safety-section,
    .page-fishing-games__testimonials-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-image,
    .page-fishing-games__feature-image,
    .page-fishing-games__safety-icon,
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__video-wrapper,
    .page-fishing-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 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__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__safety-content,
    .page-fishing-games__testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .page-fishing-games__step-number {
        top: -15px;
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
}