/* style/vip-club.css */

/* Base styles for the VIP Club page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

/* Color contrast classes */
.page-vip-club__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff; /* White text for dark background */
}

.page-vip-club__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for text readability */
  border-radius: 8px;
  margin-top: -150px; /* Overlap with image for visual effect, but not on top of it */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-vip-club__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.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: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-vip-club__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-vip-club__btn-secondary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-vip-club__btn-secondary:hover {
  background-color: #1e8dc4;
  border-color: #1e8dc4;
}

/* Section common styles */
.page-vip-club__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-vip-club__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-vip-club__benefits-section,
.page-vip-club__tiers-section,
.page-vip-club__how-to-join-section,
.page-vip-club__faq-section,
.page-vip-club__cta-bottom-section {
  padding: 80px 0;
}

.page-vip-club__benefits-section .page-vip-club__section-title,
.page-vip-club__how-to-join-section .page-vip-club__section-title,
.page-vip-club__cta-bottom-section .page-vip-club__section-title {
  color: #26A9E0; /* Primary brand color for titles on light background */
}

.page-vip-club__tiers-section .page-vip-club__section-title,
.page-vip-club__faq-section .page-vip-club__section-title {
  color: #ffffff; /* White text for titles on dark background */
}

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

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

.page-vip-club__benefit-card:hover,
.page-vip-club__tier-card:hover,
.page-vip-club__step-card:hover {
  transform: translateY(-10px);
}

.page-vip-club__benefit-image,
.page-vip-club__tier-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-vip-club__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0; /* Primary brand color for card titles */
  margin-bottom: 15px;
}

.page-vip-club__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-vip-club__step-card a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-vip-club__step-card a:hover {
  text-decoration: underline;
}

.page-vip-club__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-vip-club__cta-button {
  padding: 15px 35px;
  font-size: 1.2em;
}

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

.page-vip-club__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-vip-club__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #26A9E0; /* Primary brand color for FAQ questions */
}

.page-vip-club__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-vip-club__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-vip-club__faq-item[open] .page-vip-club__faq-toggle {
  transform: rotate(45deg);
}

.page-vip-club__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  border-top: 1px solid #eeeeee;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-vip-club__hero-content {
    margin-top: -100px;
    padding: 30px;
  }

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

  .page-vip-club__benefits-section,
  .page-vip-club__tiers-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-bottom-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-vip-club__hero-content {
    margin-top: -80px;
    padding: 25px;
  }

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

  .page-vip-club__description {
    font-size: 1em;
  }

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

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-vip-club__section-description {
    font-size: 0.95em;
  }

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

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

  .page-vip-club__card-title {
    font-size: 1.3em;
  }

  .page-vip-club__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-vip-club__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure all images are responsive */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all content containers are responsive */
  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container,
  .page-vip-club__hero-section,
  .page-vip-club__hero-image-wrapper,
  .page-vip-club__hero-content,
  .page-vip-club__benefits-section,
  .page-vip-club__tiers-section,
  .page-vip-club__how-to-join-section,
  .page-vip-club__faq-section,
  .page-vip-club__cta-bottom-section,
  .page-vip-club__cta-buttons,
  .page-vip-club__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-vip-club__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-vip-club__hero-content {
    margin-top: -60px;
    padding: 20px;
  }

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

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

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    font-size: 1em;
    padding: 10px 20px;
  }
}