/* style/fishing-games.css */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
}

.page-fishing-games__section-title--white {
    color: #FFFFFF;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__text-block--white {
    color: #FFFFFF;
}

.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;
    transition: background-color 0.3s ease, color 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: #1a7fb3;
    border-color: #1a7fb3;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    min-height: 600px;
    overflow: hidden;
    background-color: #26A9E0; /* Brand color as background */
    color: #FFFFFF;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-right: 40px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-fishing-games__feature-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;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure large images */
    height: auto;
    max-width: 400px; /* Example size */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

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

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-fishing-games__guide-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

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

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 60px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

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

.page-fishing-games__game-card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-fishing-games__game-image {
    width: 100%; /* Ensure large images */
    height: auto;
    max-width: 600px; /* Example size */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-fishing-games__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fishing-games__game-link {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games__game-link:hover {
    text-decoration: underline;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-fishing-games__promo-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

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

.page-fishing-games__reason-card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__reason-icon {
    width: 100%; /* Ensure large images */
    height: auto;
    max-width: 400px; /* Example size */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-fishing-games__reason-text {
    font-size: 1em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__faq-items {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: #26A9E0; /* Ensure link color is visible */
}

.page-fishing-games__faq-qtext a {
    color: #26A9E0; /* Ensure link color is visible */
    text-decoration: none;
}

.page-fishing-games__faq-qtext a:hover {
    text-decoration: underline;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    padding: 60px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
}

.page-fishing-games__cta-container {
    max-width: 900px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-right: 0;
        max-width: 100%;
    }
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        min-height: 500px;
    }
    .page-fishing-games__hero-content {
        margin-bottom: 30px;
    }
    .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%;
        padding: 12px 20px;
    }

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

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__reason-grid {
        grid-template-columns: 1fr;
    }

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

    /* Mobile image and video responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__reason-card,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-fishing-games__cta-buttons a {
        width: 100%;
    }
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for the first section */
    }
}

/* Color Contrast Fixes (if needed) */
.page-fishing-games__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-fishing-games__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Explicitly setting link color for text-block to ensure visibility on light background */
.page-fishing-games__text-block a,
.page-fishing-games__guide-item p a,
.page-fishing-games__promo-item p a,
.page-fishing-games__reason-item p a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-fishing-games__text-block--white a {
    color: #FFFFFF;
    text-decoration: underline;
}