/* style/fishing-games.css */

/* Base Styles for Fishing Games Page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
}

.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: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-fishing-games__mt-4 {
    margin-top: 40px;
}

/* Color Contrast Specifics */
.page-fishing-games__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-description,
.page-fishing-games__dark-section .page-fishing-games__intro-item-title,
.page-fishing-games__dark-section .page-fishing-games__why-item-title,
.page-fishing-games__dark-section .page-fishing-games__game-card-title,
.page-fishing-games__dark-section .page-fishing-games__guide-step-title,
.page-fishing-games__dark-section .page-fishing-games__strategy-item-title,
.page-fishing-games__dark-section .page-fishing-games__promo-card-title,
.page-fishing-games__dark-section .page-fishing-games__faq-qtext {
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
    margin-left: 15px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed 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.5);
    z-index: 2;
}

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

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-fishing-games__hero-actions .page-fishing-games__cta-button:first-child {
    margin-left: 0;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
}

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

.page-fishing-games__intro-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-fishing-games__intro-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__intro-item-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__why-choose-us-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__why-choose-us-section .page-fishing-games__section-description {
    color: #f0f0f0;
}

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

.page-fishing-games__why-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.page-fishing-games__why-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__why-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #FFFF00; /* Custom color for icons */
}

.page-fishing-games__why-item-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-fishing-games__why-item p {
    color: #f0f0f0;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__game-card-title {
    font-size: 1.5em;
    color: #017439;
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.page-fishing-games__game-card p {
    padding: 0 20px 20px;
    color: #555555;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__guide-section .page-fishing-games__section-description {
    color: #f0f0f0;
}

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

.page-fishing-games__guide-step {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    position: relative;
}

.page-fishing-games__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #017439;
}

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

.page-fishing-games__guide-step p {
    color: #f0f0f0;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 80px 0;
}

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

.page-fishing-games__strategy-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__strategy-item-title {
    font-size: 1.5em;
    color: #017439;
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.page-fishing-games__strategy-item p {
    padding: 0 20px 20px;
    color: #555555;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__promotions-section .page-fishing-games__section-description {
    color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__promo-card-title {
    font-size: 1.5em;
    color: #ffffff;
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.page-fishing-games__promo-card p {
    padding: 0 20px 20px;
    color: #f0f0f0;
}

.page-fishing-games__promo-button {
    margin-top: 15px;
    margin-bottom: 20px;
    display: inline-block;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    list-style: none; /* For details tag */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* For details tag */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #017439;
    margin-left: 10px;
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    color: #555555;
    font-size: 1.05em;
    line-height: 1.7;
}

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

/* Call to Action Bottom Section */
.page-fishing-games__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
    color: #f0f0f0;
}

.page-fishing-games__cta-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Global Image/Video/Button Responsive Styles */
.page-fishing-games img,
.page-fishing-games video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__hero-section {
        min-height: 400px;
        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__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 10px 15px;
        font-size: 1em;
    }

    .page-fishing-games__hero-actions,
    .page-fishing-games__cta-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-fishing-games__intro-grid,
    .page-fishing-games__why-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__intro-item,
    .page-fishing-games__why-item,
    .page-fishing-games__game-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-card {
        padding: 20px;
    }

    /* Ensure all images and videos are responsive */
    .page-fishing-games img,
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__why-choose-us-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}