/* style/vip-club-benefits.css */

/* --- Base Styles --- */
.page-vip-club-benefits {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

.page-vip-club-benefits__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-vip-club-benefits__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-vip-club-benefits__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Color Contrast Classes --- */
.page-vip-club-benefits__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff; /* White text for dark background */
}

.page-vip-club-benefits__light-bg {
    background-color: #ffffff; /* Auxiliary color or white */
    color: #333333; /* Dark text for light background */
}

/* --- Buttons --- */
.page-vip-club-benefits__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-vip-club-benefits__btn-primary,
.page-vip-club-benefits__btn-secondary,
.page-vip-club-benefits__btn-register,
.page-vip-club-benefits__btn-login {
    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;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-vip-club-benefits__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-vip-club-benefits__btn-primary:hover {
    background-color: #005a2d; /* Darker green */
    border-color: #005a2d;
}

.page-vip-club-benefits__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-vip-club-benefits__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2d;
    border-color: #005a2d;
}

/* Specific colors for Register/Login buttons */
.page-vip-club-benefits__btn-register,
.page-vip-club-benefits__btn-login {
    background-color: #C30808; /* Red for register/login */
    color: #FFFF00; /* Yellow text for register/login */
    border: 2px solid #C30808;
}

.page-vip-club-benefits__btn-register:hover,
.page-vip-club-benefits__btn-login:hover {
    background-color: #a00606; /* Darker red */
    border-color: #a00606;
}

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

.page-vip-club-benefits__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-vip-club-benefits__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #ffffff;
}

.page-vip-club-benefits__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-vip-club-benefits__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
}

/* --- Intro Section --- */
.page-vip-club-benefits__intro-section {
    padding: 80px 0;
    text-align: center;
}

/* --- Levels Section --- */
.page-vip-club-benefits__levels-section {
    padding: 80px 0;
    text-align: center;
}

.page-vip-club-benefits__level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club-benefits__level-card {
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-vip-club-benefits__level-card:hover {
    transform: translateY(-10px);
}

.page-vip-club-benefits__level-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club-benefits__level-description {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-vip-club-benefits__level-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-vip-club-benefits__level-benefits li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95em;
}

.page-vip-club-benefits__level-benefits li::before {
    content: '✓';
    color: #017439;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-vip-club-benefits__levels-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 60px auto 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- Benefits Section --- */
.page-vip-club-benefits__benefits-section {
    padding: 80px 0;
    text-align: center;
}

.page-vip-club-benefits__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club-benefits__benefit-card {
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-vip-club-benefits__benefit-card:hover {
    transform: translateY(-10px);
}

.page-vip-club-benefits__benefit-icon {
    width: 80px; /* Example size, adjust as needed */
    height: 80px; /* Example size, adjust as needed */
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%; /* If icons are circular */
    border: 2px solid #ffffff; /* Border for contrast on dark background */
}

.page-vip-club-benefits__benefit-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff; /* White text for dark card background */
}

.page-vip-club-benefits__benefit-description {
    font-size: 1em;
    color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

.page-vip-club-benefits__benefits-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 60px auto 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- Join Section --- */
.page-vip-club-benefits__join-section {
    padding: 80px 0;
    text-align: center;
}

.page-vip-club-benefits__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club-benefits__step-card {
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-vip-club-benefits__step-card:hover {
    transform: translateY(-10px);
}

.page-vip-club-benefits__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    background-color: #e6ffe6; /* Light background for number */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid #017439;
}

.page-vip-club-benefits__step-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club-benefits__step-description {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-vip-club-benefits__join-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 60px auto 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- FAQ Section --- */
.page-vip-club-benefits__faq-section {
    padding: 80px 0;
}

.page-vip-club-benefits__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.page-vip-club-benefits__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-vip-club-benefits__faq-item[open] {
    background-color: #e6ffe6; /* Lighter green when open */
    border-color: #017439;
}

.page-vip-club-benefits__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;
    border-bottom: 1px solid #e0e0e0;
}

.page-vip-club-benefits__faq-item[open] .page-vip-club-benefits__faq-question {
    color: #017439;
    background-color: #f0fff0;
}

.page-vip-club-benefits__faq-question::-webkit-details-marker {
    display: none;
}

.page-vip-club-benefits__faq-question::marker {
    display: none;
}

.page-vip-club-benefits__faq-qtext {
    flex-grow: 1;
}

.page-vip-club-benefits__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: #017439;
}

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


.page-vip-club-benefits__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: #555555;
    background-color: #f9f9f9;
}

.page-vip-club-benefits__faq-item[open] .page-vip-club-benefits__faq-answer {
    background-color: #e6ffe6;
}

.page-vip-club-benefits__faq-answer p {
    margin-bottom: 10px;
}

/* --- Bottom CTA Section --- */
.page-vip-club-benefits__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}


/* --- Image Responsive Styles --- */
.page-vip-club-benefits img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-vip-club-benefits__hero-title {
        font-size: 3em;
    }

    .page-vip-club-benefits__hero-description {
        font-size: 1.2em;
    }

    .page-vip-club-benefits__section-title {
        font-size: 2em;
    }

    .page-vip-club-benefits__level-grid,
    .page-vip-club-benefits__benefits-grid,
    .page-vip-club-benefits__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

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

    .page-vip-club-benefits__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
        min-height: 450px;
    }

    .page-vip-club-benefits__hero-title {
        font-size: 2.5em;
    }

    .page-vip-club-benefits__hero-description {
        font-size: 1.1em;
    }

    .page-vip-club-benefits__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-vip-club-benefits__btn-primary,
    .page-vip-club-benefits__btn-secondary,
    .page-vip-club-benefits__btn-register,
    .page-vip-club-benefits__btn-login {
        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;
    }

    .page-vip-club-benefits__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-vip-club-benefits__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-vip-club-benefits__text-block {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-vip-club-benefits img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure image containers also adapt */
    .page-vip-club-benefits__hero-section,
    .page-vip-club-benefits__levels-section,
    .page-vip-club-benefits__benefits-section,
    .page-vip-club-benefits__join-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-vip-club-benefits__level-card,
    .page-vip-club-benefits__benefit-card,
    .page-vip-club-benefits__step-card {
        padding: 20px;
    }

    .page-vip-club-benefits__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-vip-club-benefits__faq-answer {
        font-size: 1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-vip-club-benefits__hero-title {
        font-size: 2em;
    }

    .page-vip-club-benefits__hero-description {
        font-size: 1em;
    }

    .page-vip-club-benefits__section-title {
        font-size: 1.5em;
    }

    .page-vip-club-benefits__level-grid,
    .page-vip-club-benefits__benefits-grid,
    .page-vip-club-benefits__steps-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
}