/* style/vip-privileges.css */

:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --border-color: #e0e0e0;
}

.page-vip-privileges {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-light); /* Default text color for light background */
  background-color: var(--text-on-dark); /* Ensure contrast with shared body background if it's dark */
}

/* Sections with dark background */
.page-vip-privileges__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

/* Sections with light background */
.page-vip-privileges__light-bg {
  background-color: var(--text-on-dark);
  color: var(--text-on-light);
}

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

.page-vip-privileges__section-title {
  font-size: 2.5em;
  color: inherit;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-vip-privileges__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-vip-privileges__sub-title {
  font-size: 1.8em;
  color: inherit;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Hero Section */
.page-vip-privileges__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

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

.page-vip-privileges__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-vip-privileges__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-on-dark);
  max-width: 900px;
  padding: 20px;
}

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

.page-vip-privileges__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* Buttons */
.page-vip-privileges__btn-primary,
.page-vip-privileges__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-privileges__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-vip-privileges__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-vip-privileges__btn-secondary {
  background-color: transparent;
  color: var(--text-on-dark);
  border: 2px solid var(--text-on-dark);
}

.page-vip-privileges__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
}

.page-vip-privileges__btn-text {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-vip-privileges__btn-text:hover {
  color: #e6c200;
}

/* Benefits Section */
.page-vip-privileges__benefits-section {
  padding: 60px 0;
}

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

.page-vip-privileges__benefit-card {
  background-color: var(--text-on-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: var(--text-on-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-privileges__benefit-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-vip-privileges__benefit-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.page-vip-privileges__benefits-outro {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

/* Level Section */
.page-vip-privileges__level-section {
  padding: 60px 0;
}

.page-vip-privileges__level-overview {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-vip-privileges__level-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-vip-privileges__level-description {
  flex: 1;
}

.page-vip-privileges__level-description p {
  margin-bottom: 15px;
}

/* Join Section */
.page-vip-privileges__join-section {
  padding: 60px 0;
  text-align: center;
}

.page-vip-privileges__join-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-vip-privileges__step-card {
  background-color: var(--text-on-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: var(--text-on-light);
  max-width: 45%;
  flex-basis: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-privileges__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-vip-privileges__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.page-vip-privileges__join-image {
  margin-top: 50px;
  border-radius: 10px;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 800px;
}

/* FAQ Section */
.page-vip-privileges__faq-section {
  padding: 60px 0;
}

.page-vip-privileges__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-privileges__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-vip-privileges__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-on-dark);
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-vip-privileges__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-vip-privileges__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-on-dark);
}

.page-vip-privileges__faq-item.active .page-vip-privileges__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 20px;
}

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

/* Conclusion Section */
.page-vip-privileges__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-vip-privileges__conclusion-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Global image styles */
.page-vip-privileges img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-vip-privileges__hero-title {
    font-size: 2.8em;
  }
  .page-vip-privileges__hero-description {
    font-size: 1.1em;
  }
  .page-vip-privileges__level-overview {
    flex-direction: column;
  }
  .page-vip-privileges__level-image {
    max-width: 80%;
  }
  .page-vip-privileges__step-card {
    max-width: 80%;
    flex-basis: 80%;
  }
}

@media (max-width: 768px) {
  .page-vip-privileges {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-vip-privileges__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-vip-privileges__hero-title {
    font-size: 2em;
  }
  .page-vip-privileges__hero-description {
    font-size: 1em;
  }
  .page-vip-privileges__hero-cta-buttons,
  .page-vip-privileges__conclusion-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-vip-privileges__btn-primary,
  .page-vip-privileges__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-vip-privileges__container {
    padding: 30px 15px;
  }
  .page-vip-privileges__section-title {
    font-size: 2em;
  }
  .page-vip-privileges__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-vip-privileges__sub-title {
    font-size: 1.5em;
  }
  .page-vip-privileges__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-vip-privileges__benefit-card {
    padding: 20px;
  }
  .page-vip-privileges__level-image {
    max-width: 100%;
  }
  .page-vip-privileges__join-steps {
    flex-direction: column;
    gap: 20px;
  }
  .page-vip-privileges__step-card {
    max-width: 100%;
    flex-basis: 100%;
  }
  .page-vip-privileges__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-vip-privileges__faq-answer {
    padding: 0 20px;
  }
  .page-vip-privileges__faq-item.active .page-vip-privileges__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Force responsive images and containers */
  .page-vip-privileges img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-vip-privileges__section,
  .page-vip-privileges__card,
  .page-vip-privileges__container,
  .page-vip-privileges__hero-section,
  .page-vip-privileges__benefits-section,
  .page-vip-privileges__level-section,
  .page-vip-privileges__join-section,
  .page-vip-privileges__faq-section,
  .page-vip-privileges__conclusion-section,
  .page-vip-privileges__hero-cta-buttons,
  .page-vip-privileges__conclusion-cta-buttons,
  .page-vip-privileges__join-steps {
    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 */
  }
  .page-vip-privileges__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-vip-privileges__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content images are not too small */
  .page-vip-privileges__benefits-grid img,
  .page-vip-privileges__level-image,
  .page-vip-privileges__join-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-vip-privileges__hero-title {
    font-size: 1.8em;
  }
  .page-vip-privileges__hero-description {
    font-size: 0.9em;
  }
  .page-vip-privileges__section-title {
    font-size: 1.8em;
  }
  .page-vip-privileges__sub-title {
    font-size: 1.3em;
  }
  .page-vip-privileges__hero-section {
    height: 400px;
  }
}