/* 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; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly set to match default body background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
    gap: 20px;
}

.page-fishing-games__hero-content {
    flex: 1;
    padding: 40px;
    z-index: 1;
    max-width: 50%;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Custom font color for register/login */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    max-width: 50%;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    transform: translateY(-2px);
}

.page-fishing-games__btn-link {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 1em;
}

.page-fishing-games__btn-link:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}


/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__game-types,
.page-fishing-games__tips-strategies,
.page-fishing-games__why-choose,
.page-fishing-games__video-section,
.page-fishing-games__faq-section,
.page-fishing-games__call-to-action {
    padding: 80px 0;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-fishing-games__paragraph--italic {
    font-style: italic;
    margin-top: 40px;
}

.page-fishing-games__paragraph--center {
    text-align: center;
}

/* Feature Grid */
.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: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333; /* Ensure dark text on light card background */
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure large images, not icons */
    max-width: 250px; /* Adjust max-width as needed */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #017439;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #555555;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-fishing-games__strategy-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-fishing-games__strategy-card .page-fishing-games__card-title {
    color: #017439;
    text-align: left;
    margin-bottom: 10px;
}

.page-fishing-games__strategy-card .page-fishing-games__card-text {
    text-align: left;
    color: #555555;
}

/* Advantages List */
.page-fishing-games__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__list-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFFF00; /* Custom font color for register/login */
}

.page-fishing-games__list-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Max width for the video */
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00; /* Custom font color for register/login */
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 20px 25px;
}

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

/* Call to Action Section */
.page-fishing-games__call-to-action {
    text-align: center;
    padding: 60px 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-fishing-games__hero-content {
        max-width: 100%;
        padding: 20px;
    }

    .page-fishing-games__hero-image-wrapper {
        max-width: 100%;
        justify-content: center;
        margin-top: 30px;
    }

    .page-fishing-games__main-title {
        font-size: 2.8em;
    }

    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific adjustments for general sections */
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__game-types,
    .page-fishing-games__tips-strategies,
    .page-fishing-games__why-choose,
    .page-fishing-games__video-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__call-to-action {
        padding: 40px 0;
    }

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

    .page-fishing-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

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

    .page-fishing-games__paragraph {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* CTA Buttons Mobile */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images Mobile Responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__strategy-card,
    .page-fishing-games__list-item,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Specific padding for sections to avoid content touching edges */
    .page-fishing-games__intro-section .page-fishing-games__container,
    .page-fishing-games__game-types .page-fishing-games__container,
    .page-fishing-games__tips-strategies .page-fishing-games__container,
    .page-fishing-games__why-choose .page-fishing-games__container,
    .page-fishing-games__video-section .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__call-to-action .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video section padding top for mobile, if not handled by shared body */
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Content area images: ensure minimum size for content images */
    .page-fishing-games__feature-icon,
    .page-fishing-games__game-thumbnail {
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 150px !important; /* Enforce minimum size, aspect ratio adjusted */
        width: 100% !important;
        height: auto !important;
    }
}

/* Ensure no CSS filters are applied to images */
.page-fishing-games img {
    filter: none !important;
}

/* Content area images CSS dimensions lower bound */
.page-fishing-games__feature-icon,
.page-fishing-games__game-thumbnail {
    width: 100%; /* Default larger size for desktop */
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 150px; /* Enforce minimum size, aspect ratio adjusted */
}

/* Ensure paragraph and list item text colors are readable on various backgrounds */
.page-fishing-games p,
.page-fishing-games li {
  color: inherit; /* Inherit from parent section, which will be light/dark */
}

.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: #333333;
}

.page-fishing-games__dark-bg p,
.page-fishing-games__dark-bg li {
  color: #f0f0f0;
}