/* 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; /* Default light background */
}

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

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__content-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dark background section styling */
.page-fishing-games__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 80px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: #f0f0f0;
}

/* Light background section styling */
.page-fishing-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 80px 0;
}

/* 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: background-color 0.3s ease, color 0.3s ease, border-color 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__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFFFF; /* Ensures WCAG AA contrast */
    border: 2px solid #C30808;
    margin-right: 15px;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

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

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability */
}

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__card-description {
    color: #f0f0f0;
}

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 10px;
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

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

.page-fishing-games__video-cta {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

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

.page-fishing-games__promotion-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__promotion-card .page-fishing-games__card-title {
    color: #017439;
    font-size: 1.4em;
    margin: 0 20px 10px;
}

.page-fishing-games__promotion-card .page-fishing-games__card-description {
    color: #555555;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-fishing-games__promotion-card .page-fishing-games__btn-secondary {
    margin: 0 auto;
    display: block;
    width: fit-content;
}

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

/* Security Section */
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.page-fishing-games__security-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-fishing-games__security-list li::before {
    content: '✅';
    font-size: 1.2em;
}

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

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    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: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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;
    background-color: #f9f9f9;
    color: #555555;
}

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

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

/* Call to Action Section */
.page-fishing-games__cta-section {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        margin-right: 0;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__dark-section, .page-fishing-games__light-bg {
        padding: 50px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__feature-grid, .page-fishing-games__promotion-grid, .page-fishing-games__security-list {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    
    /* Image responsive for mobile */
    .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;
    }
    
    /* Video responsive for mobile */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Button responsive for mobile */
    .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;
        flex-direction: column; /* Stack buttons vertically */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 15px;
    }
    .page-fishing-games__promotion-image {
        height: 180px;
    }
}