/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body, which is var(--black-color) */
}

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

/* Sections */
.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games__dark-bg {
    background-color: #000000; /* Dark background for sections, ensuring contrast */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* Light background for sections */
    color: #333333;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #26A9E0; /* Brand color for titles */
}

.page-fishing-games__section-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Light grey for text on dark background */
}

.page-fishing-games__light-bg .page-fishing-games__section-text {
    color: #333333; /* Dark text for light background */
}

/* 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: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand primary color for text */
    border: 2px solid #26A9E0;
}

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

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

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

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.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.7); /* Darken image for better text contrast */
}

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

/* About Fishing Games */
.page-fishing-games__about-fishing-games {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

.page-fishing-games__about-fishing-games .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__about-fishing-games .page-fishing-games__section-text {
    color: #e0e0e0;
}

/* Why Choose Section */
.page-fishing-games__why-choose {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-fishing-games__why-choose .page-fishing-games__section-title {
    color: #26A9E0;
}

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

.page-fishing-games__feature-item {
    background: rgba(255, 255, 255, 0.08); /* Subtle light background on dark section */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

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

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

/* Popular Games */
.page-fishing-games__popular-games {
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-fishing-games__popular-games .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__game-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__game-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #cccccc;
}

.page-fishing-games__button-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* How to Play */
.page-fishing-games__how-to-play {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__how-to-play .page-fishing-games__section-text {
    color: #555555;
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #26A9E0;
}

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

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

/* Strategies */
.page-fishing-games__strategies {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-fishing-games__strategies .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__strategies .page-fishing-games__section-text {
    color: #e0e0e0;
}

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

.page-fishing-games__strategy-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__strategy-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

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

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

/* Promotions */
.page-fishing-games__promotions {
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-fishing-games__promotions .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__promotions .page-fishing-games__section-text {
    color: #e0e0e0;
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__promo-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: #cccccc;
}

.page-fishing-games__cta-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* FAQ Section */
.page-fishing-games__faq {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__faq .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__faq-item {
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-fishing-games__faq-title {
    margin: 0;
    color: #ffffff;
    font-size: 1em; /* Adjust to fit within question div */
}

.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); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff; /* White background for answer */
    color: #333333; /* Dark text for answer */
}

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

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

/* Final CTA Section */
.page-fishing-games__final-cta {
    background-color: #000000;
    color: #ffffff;
    padding-bottom: 80px;
}

.page-fishing-games__final-cta-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

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

/* Image styles */
.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__content-image--center {
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin: 5px 0;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-text {
        font-size: 0.95em;
    }

    .page-fishing-games__container {
        padding: 0 15px; /* Add padding to prevent content from touching edges */
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* Ensure image containers also adapt */
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__cta-wrapper,
    .page-fishing-games__section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    /* FAQ */
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    .page-fishing-games__final-cta-content {
        padding: 20px;
    }
    .page-fishing-games__final-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-fishing-games p,
    .page-fishing-games li {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

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