/* style/fishing-games.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-fishing-games {
    background-color: var(--page-bg, #08160F); /* Use custom background color if --page-bg is not set or is light */
    color: #F2FFF6; /* Text Main */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Ensure the main container doesn't get double padding from body */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 10px; /* Small top padding, not for header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
    box-sizing: border-box;
    background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 10px 15px;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Lighter green from gradient */
    border: 2px solid #2AD16F; /* Border */
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-fishing-games__image-left,
.page-fishing-games__image-right {
    flex: 1;
    max-width: 50%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block {
    flex: 1;
    color: #F2FFF6; /* Text Main */
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #F2FFF6; /* Text Main */
}

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

.page-fishing-games__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 15px;
}

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

.page-fishing-games__guide-list li {
    background-color: #11271B; /* Card BG */
    border-left: 5px solid #2AD16F; /* Button gradient light */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6; /* Text Main */
}

.page-fishing-games__list-title {
    font-size: 1.3rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-fishing-games__list-title + p {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
}

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

.page-fishing-games__advantage-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-fishing-games__advantage-item:hover {
    transform: translateY(-5px);
    background-color: #0A4B2C; /* Deep Green */
}

.page-fishing-games__advantage-title {
    font-size: 1.6rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-fishing-games__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border */
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green for summary background */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #13994A; /* Darker green from button gradient */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #F2FFF6; /* Text Main */
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games__faq-answer p {
    margin: 0;
    color: #A7D9B8; /* Text Secondary */
}

.page-fishing-games__cta-section {
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 20px;
}

.page-fishing-games__cta-content {
    max-width: 800px;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
}

.page-fishing-games__cta-content .page-fishing-games__description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #F2FFF6; /* Text Main */
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__content-wrapper {
        flex-direction: column;
    }
    .page-fishing-games__content-wrapper--reversed {
        flex-direction: column; /* Keep column for reversed as well */
    }
    .page-fishing-games__image-left,
    .page-fishing-games__image-right {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

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

    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-fishing-games__main-title {
        font-size: 2rem;
    }

    .page-fishing-games__description {
        font-size: 1rem;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        margin: 0 0 15px 0; /* Stack buttons vertically */
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-fishing-games__section {
        padding: 40px 15px;
    }

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

    .page-fishing-games__card-image {
        height: 180px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__guide-list li {
        padding: 15px;
    }

    .page-fishing-games__list-title {
        font-size: 1.1rem;
    }

    .page-fishing-games__advantage-title {
        font-size: 1.4rem;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 15px 15px;
    }

    /* Mobile image responsive adaptations */
    .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,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__content-wrapper,
    .page-fishing-games__game-card,
    .page-fishing-games__advantage-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-fishing-games__hero-section {
        padding-left: 0 !important; /* Remove section padding */
        padding-right: 0 !important;
    }
    .page-fishing-games__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}