/* style/vip-club.css */

/* Base styles and container */
.page-vip-club {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default body background is white */
}

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

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

.page-vip-club__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #FFFFFF; /* White text on hero image */
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-vip-club__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-vip-club__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-vip-club__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.page-vip-club__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-vip-club__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-vip-club__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-vip-club__btn-secondary {
    background-color: #017439; /* Brand green */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-vip-club__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

/* Introduction Section */
.page-vip-club__introduction-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
    text-align: center;
}

.page-vip-club__intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* VIP Tiers Section */
.page-vip-club__tiers-section {
    padding: 80px 0;
    background-color: #017439; /* Dark brand green background */
    color: #FFFFFF; /* White text */
}

.page-vip-club__tiers-section .page-vip-club__section-title,
.page-vip-club__tiers-section .page-vip-club__section-description {
    color: #FFFFFF;
}

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

.page-vip-club__tier-card {
    background-color: #FFFFFF; /* Light background for cards */
    color: #333333; /* Dark text for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-vip-club__tier-title {
    font-size: 1.8em;
    color: #017439; /* Brand green for tier titles */
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-vip-club__tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.page-vip-club__tier-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439; /* Brand green checkmark */
}

.page-vip-club__tiers-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: #FFFFFF;
}

/* Exclusive Benefits Section */
.page-vip-club__exclusive-benefits-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

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

.page-vip-club__benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.page-vip-club__benefit-icon {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

.page-vip-club__benefit-description {
    font-size: 1em;
    color: #555555;
}

/* How to Join Section */
.page-vip-club__how-to-join-section {
    padding: 80px 0;
    background-color: #017439; /* Dark brand green background */
    color: #FFFFFF; /* White text */
}

.page-vip-club__how-to-join-section .page-vip-club__section-title,
.page-vip-club__how-to-join-section .page-vip-club__section-description {
    color: #FFFFFF;
}

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

.page-vip-club__step-card {
    background-color: #FFFFFF; /* Light background for cards */
    color: #333333; /* Dark text for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-vip-club__step-description {
    font-size: 1em;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* FAQ Section */
.page-vip-club__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

.page-vip-club__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-vip-club__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fcfcfc;
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-vip-club__faq-question:hover {
    background-color: #e5e5e5;
}

.page-vip-club__faq-title {
    font-size: 1.2em;
    color: #017439;
    margin: 0;
    font-weight: bold;
}

.page-vip-club__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-vip-club__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #333333;
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px !important;
}

.page-vip-club__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* CTA Section */
.page-vip-club__cta-section {
    padding: 80px 0;
    background-color: #017439; /* Dark brand green background */
    color: #FFFFFF; /* White text */
    text-align: center;
}

.page-vip-club__cta-section .page-vip-club__section-title,
.page-vip-club__cta-section .page-vip-club__section-description {
    color: #FFFFFF;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-club__hero-title {
        font-size: 3em;
    }
    .page-vip-club__hero-description {
        font-size: 1.1em;
    }
    .page-vip-club__section-title {
        font-size: 2em;
    }
}

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

    .page-vip-club__container {
        padding: 0 15px;
    }

    .page-vip-club__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-vip-club__hero-title {
        font-size: 2.2em;
    }
    .page-vip-club__hero-description {
        font-size: 1em;
    }

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

    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-vip-club__section-title {
        font-size: 1.8em;
    }

    .page-vip-club__tiers-grid,
    .page-vip-club__benefits-grid,
    .page-vip-club__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-vip-club__tier-card,
    .page-vip-club__benefit-item,
    .page-vip-club__step-card {
        padding: 25px;
    }

    .page-vip-club__tier-title,
    .page-vip-club__benefit-title,
    .page-vip-club__step-title {
        font-size: 1.5em;
    }

    .page-vip-club__faq-question {
        padding: 15px;
    }

    .page-vip-club__faq-title {
        font-size: 1.1em;
    }

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

    /* All containers with images/content */
    .page-vip-club__section,
    .page-vip-club__card,
    .page-vip-club__container,
    .page-vip-club__hero-section,
    .page-vip-club__introduction-section,
    .page-vip-club__tiers-section,
    .page-vip-club__exclusive-benefits-section,
    .page-vip-club__how-to-join-section,
    .page-vip-club__faq-section,
    .page-vip-club__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific padding adjustments for sections that already have 0 padding */
    .page-vip-club__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-vip-club__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color contrast enforcement (assuming default body background is light) */
.page-vip-club__light-bg {
  color: #333333;
  background: #FFFFFF;
}

.page-vip-club__dark-bg {
  color: #ffffff;
  background: #017439;
}

/* Ensure all links and buttons have sufficient contrast */
.page-vip-club a {
  color: #017439; /* Default link color, ensure contrast */
  text-decoration: underline;
}
.page-vip-club a:hover {
  color: #005a2e;
}