/* style/fishing-games.css */

/* Custom Color Variables - Defined within the page scope */
.page-fishing-games {
    --bg-color-main: #08160F;
    --bg-color-card: #11271B;
    --text-color-main: #F2FFF6;
    --text-color-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-main); /* Default text color for the page */
    background-color: var(--bg-color-main); /* Main background for the page */
}

.page-fishing-games__section {
    padding: 60px 20px;
    margin-bottom: 20px; /* Consistent spacing between sections */
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background-color: var(--bg-color-main);
}

.page-fishing-games__hero-image {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: bold;
    color: var(--gold-color); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--glow-color);
}

.page-fishing-games__description {
    font-size: 1.2em;
    color: var(--text-color-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Include padding in width calculation */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-color-main); /* White text for primary button */
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--gold-color); /* Gold text for secondary button */
    border: 2px solid var(--gold-color);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--bg-color-main); /* Dark text on hover */
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

/* Text Blocks */
.page-fishing-games__text-block {
    font-size: 1.1em;
    color: var(--text-color-secondary);
    margin-bottom: 25px;
    text-align: justify;
}

/* Image Content */
.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    display: block; /* Ensure it behaves as a block element */
    object-fit: cover;
}

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

.page-fishing-games__card {
    background-color: var(--bg-color-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--text-color-main);
    margin-bottom: 15px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--text-color-secondary);
    line-height: 1.5;
}

/* Dark Section */
.page-fishing-games__dark-section {
    background-color: var(--deep-green-color); /* Darker green background */
    color: var(--text-color-main); /* Light text on dark background */
    padding: 80px 20px;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--gold-color);
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: var(--text-color-secondary);
}

.page-fishing-games__dark-section .page-fishing-games__list-item {
    color: var(--text-color-secondary);
}

/* Lists */
.page-fishing-games__benefits-list,
.page-fishing-games__guide-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-fishing-games__list-item {
    font-size: 1.1em;
    color: var(--text-color-secondary);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-fishing-games__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow-color); /* Green checkmark */
    font-weight: bold;
    font-size: 1.2em;
}

.page-fishing-games__guide-list .page-fishing-games__list-item::before {
    content: counter(guide-counter) '.';
    counter-increment: guide-counter;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.1em;
    left: 0;
}
.page-fishing-games__guide-list {
    counter-reset: guide-counter;
}


/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--bg-color-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--text-color-main);
    font-weight: bold;
    background-color: var(--deep-green-color); /* Slightly darker background for question */
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--border-color); /* Keep dark background when open, slight change */
    color: var(--gold-color);
}

.page-fishing-games__faq-question:hover {
    background-color: var(--border-color); /* Lighter on hover */
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−'; /* Change to minus when open */
}

/* For <details> tag, hide default marker */
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-fishing-games__faq-item summary {
    list-style: none;
}


.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: var(--text-color-secondary);
    background-color: var(--bg-color-card);
    border-top: 1px solid var(--border-color);
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
    color: var(--text-color-secondary); /* Ensure paragraph color in answer */
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-section {
        padding: 40px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-fishing-games__description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__game-cards,
    .page-fishing-games__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__card-image {
        height: 180px; /* Adjust card image height for mobile */
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__list-item {
        font-size: 1em;
    }
}