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

/* Base styles for the page content */
.page-vip-club-benefits-details {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though body is white */
}

/* Container for consistent content width */
.page-vip-club-benefits-details__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-vip-club-benefits-details__section-title--light {
    color: #ffffff; /* White text for dark backgrounds */
}

/* Text blocks */
.page-vip-club-benefits-details__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-club-benefits-details__text-block--light {
    color: #f0f0f0; /* Lighter text for dark backgrounds */
}

/* Buttons */
.page-vip-club-benefits-details__btn-primary,
.page-vip-club-benefits-details__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%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-vip-club-benefits-details__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    margin-right: 15px;
}

.page-vip-club-benefits-details__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-vip-club-benefits-details__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-vip-club-benefits-details__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-vip-club-benefits-details__btn-primary--large,
.page-vip-club-benefits-details__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

.page-vip-club-benefits-details__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-vip-club-benefits-details__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-vip-club-benefits-details__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.page-vip-club-benefits-details__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.2;
}

.page-vip-club-benefits-details__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-club-benefits-details__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15; /* Subtle background image */
}

.page-vip-club-benefits-details__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Introduction Section */
.page-vip-club-benefits-details__introduction {
    padding: 80px 0;
    text-align: center;
}

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

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

.page-vip-club-benefits-details__level-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-vip-club-benefits-details__level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-vip-club-benefits-details__level-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-vip-club-benefits-details__level-card p {
    font-size: 1em;
    margin-bottom: 10px;
}

.page-vip-club-benefits-details__level-card strong {
    color: #017439;
}

/* Benefits Overview Section */
.page-vip-club-benefits-details__benefits-overview {
    padding: 80px 0;
    text-align: center;
}

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

.page-vip-club-benefits-details__benefit-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-vip-club-benefits-details__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.page-vip-club-benefits-details__benefit-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

/* How to Join Section */
.page-vip-club-benefits-details__how-to-join {
    padding: 80px 0;
    text-align: center;
}

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

.page-vip-club-benefits-details__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-vip-club-benefits-details__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #017439;
    color: #ffffff;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-vip-club-benefits-details__step-card p {
    font-size: 1em;
}

.page-vip-club-benefits-details__step-card a {
    color: #017439;
    text-decoration: none;
}
.page-vip-club-benefits-details__step-card a:hover {
    text-decoration: underline;
}

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

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

.page-vip-club-benefits-details__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-vip-club-benefits-details__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: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-vip-club-benefits-details__faq-question:hover {
    background-color: #f0f0f0;
}

.page-vip-club-benefits-details__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-vip-club-benefits-details__faq-item.active .page-vip-club-benefits-details__faq-toggle {
    transform: rotate(45deg);
}

.page-vip-club-benefits-details__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #ffffff;
}

.page-vip-club-benefits-details__faq-item.active .page-vip-club-benefits-details__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px !important;
}

.page-vip-club-benefits-details__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

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

.page-vip-club-benefits-details__cta-section .page-vip-club-benefits-details__btn-primary,
.page-vip-club-benefits-details__cta-section .page-vip-club-benefits-details__btn-secondary {
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

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

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

@media (max-width: 768px) {
    .page-vip-club-benefits-details__container {
        padding: 0 15px;
    }

    .page-vip-club-benefits-details__hero-section {
        padding: 60px 0;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

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

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

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

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

    .page-vip-club-benefits-details__btn-primary,
    .page-vip-club-benefits-details__btn-secondary {
        display: block;
        margin: 10px auto;
        width: calc(100% - 30px); /* Adjust for padding */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-vip-club-benefits-details__btn-primary--large,
    .page-vip-club-benefits-details__btn-secondary--large {
        width: calc(100% - 30px);
    }

    .page-vip-club-benefits-details__cta-section .page-vip-club-benefits-details__btn-primary,
    .page-vip-club-benefits-details__cta-section .page-vip-club-benefits-details__btn-secondary {
        margin-left: auto;
        margin-right: auto;
    }

    /* Images responsiveness */
    .page-vip-club-benefits-details img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-vip-club-benefits-details__hero-image-wrapper,
    .page-vip-club-benefits-details__level-grid,
    .page-vip-club-benefits-details__benefits-grid,
    .page-vip-club-benefits-details__steps-grid,
    .page-vip-club-benefits-details__faq-list,
    .page-vip-club-benefits-details__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-vip-club-benefits-details__level-image,
    .page-vip-club-benefits-details__benefit-image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important; /* Ensure image fills card width */
    }

    .page-vip-club-benefits-details__benefit-card {
        height: auto; /* Allow height to adjust */
    }

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

    .page-vip-club-benefits-details__faq-answer {
        padding: 0 15px;
    }
    .page-vip-club-benefits-details__faq-item.active .page-vip-club-benefits-details__faq-answer {
        padding: 15px !important;
    }
}

/* Color contrast fixes based on body background light */
.page-vip-club-benefits-details__dark-bg {
  color: #ffffff; /* Deep background, light text */
}

.page-vip-club-benefits-details__light-bg {
  color: #333333; /* Light background, dark text */
}

.page-vip-club-benefits-details__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

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

.page-vip-club-benefits-details a {
    color: #017439; /* Links in light sections */
    text-decoration: none;
}
.page-vip-club-benefits-details a:hover {
    text-decoration: underline;
}

.page-vip-club-benefits-details__text-block--light a {
    color: #e0e0e0; /* Links in dark sections */
}
.page-vip-club-benefits-details__text-block--light a:hover {
    color: #ffffff;
}