/* style/fishing-games-tips.css */

/* Variables for colors */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --border-color: #e0e0e0;
}

.page-fishing-games-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-light-bg); /* Default text color for light body background */
    background-color: var(--background-color);
}

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

/* Hero Section */
.page-fishing-games-tips__hero-section {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    text-align: center;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-fishing-games-tips__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    line-height: 1.2;
}

.page-fishing-games-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-fishing-games-tips__content-area {
    padding: 60px 0;
    background-color: var(--background-color);
    color: var(--text-color-light-bg);
}

.page-fishing-games-tips__section-title {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games-tips__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

/* Buttons */
.page-fishing-games-tips__btn-primary,
.page-fishing-games-tips__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games-tips__btn-primary {
    background-color: var(--login-button-color); /* Using login color for primary action */
    color: var(--register-login-font-color); /* Using register/login font color */
    border: 2px solid var(--login-button-color);
    margin: 10px;
}

.page-fishing-games-tips__btn-primary:hover {
    background-color: darken(var(--login-button-color), 10%);
    border-color: darken(var(--login-button-color), 10%);
}

.page-fishing-games-tips__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-fishing-games-tips__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

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

.page-fishing-games-tips__feature-item {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-color-light-bg);
    border: 1px solid var(--border-color);
}

.page-fishing-games-tips__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Image Text Block */
.page-fishing-games-tips__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.page-fishing-games-tips__image-text-block:nth-of-type(odd) {
    flex-direction: row-reverse;
}

.page-fishing-games-tips__image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure image is responsive */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

.page-fishing-games-tips__text-content {
    flex: 2;
    min-width: 300px;
}

/* Lists */
.page-fishing-games-tips__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-fishing-games-tips__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-fishing-games-tips__list--columns {
    columns: 2;
    column-gap: 40px;
}

/* Room Types */
.page-fishing-games-tips__room-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-fishing-games-tips__room-card {
    padding: 25px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-color-light-bg);
    border: 1px solid var(--border-color);
}

.page-fishing-games-tips__room-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Video Section */
.page-fishing-games-tips__video-wrapper {
    margin: 40px auto 60px auto;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games-tips__video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
    display: block;
}

.page-fishing-games-tips__video-link-overlay {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    cursor: pointer;
}

.page-fishing-games-tips__video-caption {
    margin-top: 15px;
    font-style: italic;
    color: #555;
}

/* FAQ Section */
.page-fishing-games-tips__faq-list {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-fishing-games-tips__faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-fishing-games-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games-tips__faq-question:hover {
    background-color: #f5f5f5;
}

.page-fishing-games-tips__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.page-fishing-games-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-fishing-games-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #f9f9f9;
    color: var(--text-color-light-bg);
}

.page-fishing-games-tips__faq-answer p {
    padding-bottom: 15px;
    margin: 0;
    font-size: 1.05em;
}

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

.page-fishing-games-tips__faq-item.active .page-fishing-games-tips__faq-toggle {
    transform: rotate(45deg);
    content: '−'; /* Change to minus sign */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games-tips__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games-tips__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games-tips__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games-tips__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games-tips__image-text-block:nth-of-type(odd) {
        flex-direction: column;
    }
    .page-fishing-games-tips__image--left,
    .page-fishing-games-tips__image--right {
        order: -1; /* Image always on top for mobile */
    }
    .page-fishing-games-tips__list--columns {
        columns: 1;
    }
}

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

    /* Ensure header offset is applied to main content on mobile */
    .page-fishing-games-tips__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-fishing-games-tips__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games-tips__hero-description {
        font-size: 1em;
    }
    .page-fishing-games-tips__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-fishing-games-tips__content-area {
        padding: 40px 0;
    }
    .page-fishing-games-tips__container {
        padding: 0 15px;
    }

    /* Images responsive */
    .page-fishing-games-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games-tips__image-text-block,
    .page-fishing-games-tips__feature-grid,
    .page-fishing-games-tips__room-types {
        gap: 20px;
    }

    /* Video responsive */
    .page-fishing-games-tips video,
    .page-fishing-games-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games-tips__video-section,
    .page-fishing-games-tips__video-container,
    .page-fishing-games-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-fishing-games-tips__video-wrapper {
        padding: 0 15px;
    }

    /* Buttons responsive */
    .page-fishing-games-tips__btn-primary,
    .page-fishing-games-tips__btn-secondary,
    .page-fishing-games-tips a[class*="button"],
    .page-fishing-games-tips a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Adjust margin for vertical stack */
        padding: 12px 20px;
    }
    .page-fishing-games-tips__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    /* Card padding for mobile */
    .page-fishing-games-tips__card {
        padding: 20px;
    }

    .page-fishing-games-tips__faq-question,
    .page-fishing-games-tips__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games-tips__faq-question h3 {
        font-size: 1.1em;
    }
}