/* style/fishing-games.css */

/* Custom Color Variables */
:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-deep-green: #0A4B2C;
}

.page-fishing-games {
    background-color: var(--color-background); /* Using custom background color */
    color: var(--color-text-main); /* Default text color for the page */
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--color-deep-green) 0%, var(--color-background) 100%);
}

.page-fishing-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 30px; /* Space between image and content */
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold); /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__cta-button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__cta-button--secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.page-fishing-games__cta-button--secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

.page-fishing-games__text-link {
    color: var(--color-gold);
    text-decoration: underline;
}

.page-fishing-games__text-link:hover {
    color: var(--color-primary);
}

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

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play,
.page-fishing-games__cta-section {
    padding: 80px 0;
    background-color: var(--color-background); /* Dark background for these sections */
    color: var(--color-text-main);
}

.page-fishing-games__game-showcase,
.page-fishing-games__tips-strategies,
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Lighter green for these sections */
    color: var(--color-text-main);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: var(--color-gold);
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--color-text-secondary);
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__tip-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--color-border);
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-title,
.page-fishing-games__game-card-title,
.page-fishing-games__tip-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-fishing-games__feature-text,
.page-fishing-games__game-card-description,
.page-fishing-games__tip-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    flex-grow: 1; /* Allow description to take available space */
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.page-fishing-games__how-to-play .page-fishing-games__section-description {
    margin-bottom: 40px;
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-fishing-games__step-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--color-primary);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

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

.page-fishing-games__cta-banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-top: 60px;
    border: 1px solid var(--color-border);
}

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

.page-fishing-games__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    overflow: hidden; /* For details tag */
}

.page-fishing-games__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    background-color: var(--color-card-bg);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-fishing-games__faq-item summary:hover {
    background-color: var(--color-deep-green);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gold);
    margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: "−"; /* Unicode minus sign */
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.page-fishing-games p,
.page-fishing-games li {
    color: var(--color-text-secondary); /* Ensure paragraph and list text colors are consistent */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-fishing-games__game-card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        margin-top: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin-left: 0; /* Remove margin for single column */
        width: 100%;
    }
    .page-fishing-games__cta-button--secondary {
        margin-top: 15px; /* Add space between buttons */
    }
    .page-fishing-games__intro-section,
    .page-fishing-games__game-showcase,
    .page-fishing-games__how-to-play,
    .page-fishing-games__tips-strategies,
    .page-fishing-games__cta-section,
    .page-fishing-games__faq-section {
        padding: 50px 0;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 20px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        margin-top: 30px;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__tip-item,
    .page-fishing-games__step-item {
        padding: 20px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-card-title,
    .page-fishing-games__tip-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__feature-text,
    .page-fishing-games__game-card-description,
    .page-fishing-games__tip-description,
    .page-fishing-games__step-description {
        font-size: 0.9rem;
    }
    .page-fishing-games__game-card-image {
        height: 160px;
    }
    .page-fishing-games__cta-buttons-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-banner-image {
        margin-top: 40px;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Mobile image responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* Mobile button responsiveness */
    .page-fishing-games__cta-button,
    .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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__cta-buttons-wrapper {
        display: flex;
        flex-direction: column;
    }
}