/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is white */
}

.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: 30px;
    font-weight: bold;
}

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

.page-fishing-games__paragraph {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not covered by sticky header */
}

.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); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text */
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color for prominence */
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't increase width beyond max-width */
}

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

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom font color for Login/Register */
    border: 2px solid #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

.page-fishing-games__btn-primary--small,
.page-fishing-games__btn-secondary--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

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

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

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

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

/* Game Categories Section */
.page-fishing-games__game-categories {
    padding: 60px 0;
    background-color: #017439; /* Primary brand color for dark section */
    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: #1a8a4e; /* Slightly lighter green for cards on dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-fishing-games__game-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00; /* Highlight game titles */
}

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

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

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

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

/* Download App Section */
.page-fishing-games__download-app {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-fishing-games__download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-fishing-games__download-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__download-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-fishing-games__download-features li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333333;
    display: flex;
    align-items: center;
}

.page-fishing-games__list-icon {
    color: #017439;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.page-fishing-games__download-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.page-fishing-games__download-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-fishing-games__promo-section {
    padding: 60px 0;
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF;
}

.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: #1a8a4e; /* Slightly lighter green for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

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

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
    padding: 0 20px;
}

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

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

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

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

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

.page-fishing-games__faq-answer p {
    margin: 0;
    text-align: left;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 60px 0;
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF;
    text-align: center;
}

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

/* Links within content */
.page-fishing-games a {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
}

.page-fishing-games a:hover {
    color: #005f2e; /* Darker shade on hover */
}

.page-fishing-games__paragraph--white a {
    color: #FFFF00; /* Yellow for links on dark green background */
}

.page-fishing-games__paragraph--white a:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__download-content {
        flex-direction: column;
    }
    .page-fishing-games__download-text,
    .page-fishing-games__download-image-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-fishing-games__hero-content {
        padding: 30px 20px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
        margin-left: auto;
        margin-right: auto;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        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__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__paragraph {
        font-size: 0.95em;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 200px; /* Smaller images on mobile */
    }
    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__download-content,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__game-categories,
    .page-fishing-games__download-app,
    .page-fishing-games__promo-section,
    .page-fishing-games__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

/* Ensure no filter on images */
.page-fishing-games img {
    filter: none !important;
}

/* Contrast Fixes */
.page-fishing-games__dark-section {
  background: #017439;
  color: #ffffff;
}
.page-fishing-games__light-bg {
  background: #ffffff;
  color: #333333;
}
.page-fishing-games__hero-content {
  color: #ffffff; /* Text on hero overlay */
}
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  color: #f0f0f0; /* Text on slightly lighter green cards */
}