/* style/fishing-games.css */

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

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

.page-fishing-games__section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for sections */
    margin-bottom: 20px;
}

.page-fishing-games__dark-section {
    background-color: #0d0d0d; /* Slightly darker background for contrast */
    color: #ffffff;
}

.page-fishing-games__section:nth-child(even) {
    background-color: #0d0d0d;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__subsection-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05em;
    color: #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-item strong {
    color: #26A9E0;
    font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-fishing-games__hero-title {
    font-size: 3.8em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__cta-buttons--center {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    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-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(38, 169, 224, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

/* Image styles */
.page-fishing-games__image,
.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-fishing-games__card-image {
    margin: 0 auto 20px auto;
}

/* Game Cards */
.page-fishing-games__game-cards,
.page-fishing-games__promo-cards {
    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);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-fishing-games__card-button {
    margin-top: auto; /* Push button to bottom */
}

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

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
    transform: translateY(-8px);
}

.page-fishing-games__step-number {
    font-size: 3em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1;
}

.page-fishing-games__step-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: #e0e0e0;
}

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

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

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: #0d0d0d;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    background-color: #26A9E0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #1a8cc4;
}

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

.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: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

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

.page-fishing-games__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }

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

    .page-fishing-games__section-title {
        font-size: 2em;
    }

    .page-fishing-games__subsection-title {
        font-size: 1.6em;
    }

    .page-fishing-games__cta-title {
        font-size: 2.5em;
    }
}

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

    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
        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,
    .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: 12px 25px;
        font-size: 1em;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__subsection-title {
        font-size: 1.4em;
    }

    .page-fishing-games__game-cards,
    .page-fishing-games__promo-cards,
    .page-fishing-games__steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card {
        padding: 25px;
    }

    .page-fishing-games__card-title {
        font-size: 1.4em;
    }

    .page-fishing-games__step-number {
        font-size: 2.5em;
    }

    .page-fishing-games__step-title {
        font-size: 1.3em;
    }

    .page-fishing-games__video-wrapper {
        margin: 30px auto;
    }

    .page-fishing-games__faq-question {
        padding: 18px 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: 15px 20px;
    }

    .page-fishing-games__cta-title {
        font-size: 2em;
    }

    .page-fishing-games__cta-description {
        font-size: 1.1em;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .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; /* Prevent horizontal scroll */
    }

    /* Ensure video elements themselves are responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Specific override for hero section padding-top on mobile if needed */
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; 
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }

    .page-fishing-games__section-title {
        font-size: 1.5em;
    }

    .page-fishing-games__cta-title {
        font-size: 1.8em;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95em;
        padding: 10px 20px;
    }
}