/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the main page content, assuming body is dark */
    background-color: var(--dark-bg-1); /* Inherited from shared.css, likely dark */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #26A9E0; /* Use brand color for hero background */
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-fishing-games__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-inline {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Login/Download button color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__btn-inline {
    background-color: transparent;
    color: #26A9E0;
    border: 1px solid #26A9E0;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make background image subtle */
}

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    color: #26A9E0; /* Using brand color for titles */
}

.page-fishing-games__features-section,
.page-fishing-games__gameplay-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff; /* Light background for content sections */
    color: #333333; /* Dark text for light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

/* Features Section */
.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: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure images are responsive within cards */
    height: auto;
    max-height: 200px; /* Limit height to prevent overly large images */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

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

.page-fishing-games__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Gameplay Section */
.page-fishing-games__gameplay-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-fishing-games__step-item {
    background-color: #f0f8ff; /* Light blue background for steps */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    color: #333333;
}

.page-fishing-games__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    border: 3px solid #ffffff;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-fishing-games__step-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
}

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

.page-fishing-games__tip-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

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

.page-fishing-games__tip-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
}

/* CTA Section */
.page-fishing-games__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-fishing-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: #333333;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f0f8ff; /* Light blue background for questions */
    cursor: pointer;
    font-weight: bold;
    color: #26A9E0;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #26A9E0;
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change to '-' visually */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #555555;
}

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

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

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

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

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

    .page-fishing-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-fishing-games__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px; /* Add padding to container */
        box-sizing: border-box;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-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-section,
    .page-fishing-games__gameplay-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__faq-section {
        padding: 40px 15px;
        margin-left: 15px !important; /* Add horizontal padding to main content sections */
        margin-right: 15px !important;
        max-width: 100% !important; /* Ensure sections don't overflow */
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__feature-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All image and content containers must also be responsive */
    .page-fishing-games__features-grid,
    .page-fishing-games__gameplay-steps,
    .page-fishing-games__tips-grid,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        /* For multiple buttons/cards in a row */
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__step-item,
    .page-fishing-games__tip-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__cta-title {
        font-size: 2em;
    }
    .page-fishing-games__cta-description {
        font-size: 1em;
    }

    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
      
    .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;
    }
}

/* General image and video responsiveness (for all screen sizes, then !important in mobile media query) */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games video,
.page-fishing-games__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

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