/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000; /* Ensure consistency with body 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: 2.5em;
    color: #ffc107; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
}

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

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

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffc107; /* Auxiliary color for hero title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* 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;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #ffc107;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #ffc107; /* Auxiliary color */
    border: 2px solid #ffc107;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #ffc107;
    color: #000000;
}

/* Section Backgrounds */
.page-fishing-games__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter dark for sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for contrast */
    padding: 60px 0;
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__text-block {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 15px auto;
}

/* Features Section */
.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-card {
    background-color: #ffffff; /* White background for cards */
    color: #333333;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    color: #555555;
}

/* Popular Games Section */
.page-fishing-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* Guide Section */
.page-fishing-games__guide-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__guide-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-text {
    flex: 2;
}

.page-fishing-games__guide-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-top: 20px;
    color: #555555;
}

.page-fishing-games__guide-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-fishing-games__guide-list li strong {
    color: #007bff;
}

/* Strategy Section */
.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-item {
    background-color: rgba(0, 123, 255, 0.15); /* Semi-transparent main color */
    border-left: 4px solid #007bff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__item-title {
    font-size: 1.3em;
    color: #ffc107;
    margin-bottom: 10px;
}

.page-fishing-games__item-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Promotions Section */
.page-fishing-games__promo-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: #333333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promo-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-fishing-games__promo-list li strong {
    color: #007bff;
}

.page-fishing-games__promotions-section .page-fishing-games__cta-buttons {
    margin-top: 40px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__why-choose-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
    margin: 0;
    color: #007bff;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff;
    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;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 25px;
}

.page-fishing-games__faq-answer .page-fishing-games__text-block {
    margin-bottom: 0;
    color: #555555;
}

/* CTA Section */
.page-fishing-games__cta-content {
    text-align: center;
    padding: 60px 20px;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
    color: #ffc107;
}

.page-fishing-games__cta-content .page-fishing-games__text-block {
    max-width: 800px;
    margin: 0 auto 30px 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.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__guide-content {
        flex-direction: column;
    }
    .page-fishing-games__guide-image {
        min-width: unset;
        width: 100%;
        max-width: 600px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        height: 70vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .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: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        padding-top: 20px;
    }
    .page-fishing-games__dark-bg,
    .page-fishing-games__light-bg {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Mobile image adaptation */
    .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__hero-section,
    .page-fishing-games__hero-buttons,
    .page-fishing-games__game-item,
    .page-fishing-games__feature-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__why-choose-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-fishing-games__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__guide-image {
        height: auto;
        max-height: 300px; /* Limit height for smaller screens */
    }

    /* Ensure content area images are not too small */
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__guide-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-fishing-games__game-list,
    .page-fishing-games__features-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}