/* 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 */
  background-color: #FFFFFF; /* Assuming body background is white */
}

/* Smart color contrast for specific sections */
.page-vip-club__dark-bg {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
}

.page-vip-club__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Space between image and content */
}

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

.page-vip-club__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-vip-club__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-vip-club__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Call to Action Buttons */
.page-vip-club__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-vip-club__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-vip-club__btn-primary--large,
.page-vip-club__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* General Section Styling */
.page-vip-club__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.page-vip-club__introduction-section .page-vip-club__section-title,
.page-vip-club__upgrade-section .page-vip-club__section-title,
.page-vip-club__support-section .page-vip-club__section-title,
.page-vip-club__cta-section .page-vip-club__section-title {
  color: #26A9E0; /* Primary color for titles on light background */
}

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

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

.page-vip-club__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-vip-club__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-vip-club__image-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-vip-club__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-vip-club__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-vip-club p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.page-vip-club h3 {
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-vip-club ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-vip-club ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-vip-club ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-vip-club__dark-bg ul li::before {
  color: #ffffff;
}

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

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

.page-vip-club__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-vip-club__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  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: 0 20px 20px 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

/* CTA Section */
.page-vip-club__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-vip-club__cta-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-vip-club__hero-image-wrapper {
    max-height: 60vh;
  }

  .page-vip-club__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-vip-club__subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  }

  .page-vip-club__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-vip-club__text-block,
  .page-vip-club__image-block {
    max-width: 100%;
    flex-basis: 100%;
  }
  
  .page-vip-club__content-wrapper {
    flex-direction: column;
  }

  .page-vip-club__content-wrapper--reverse {
    flex-direction: column;
  }
}

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

  .page-vip-club__hero-image-wrapper {
    max-height: 50vh;
  }

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

  .page-vip-club__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-vip-club__subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .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: 12px 20px;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-club__btn-primary--large,
  .page-vip-club__btn-secondary--large {
    padding: 15px 25px;
    font-size: 1.1rem;
  }

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

  .page-vip-club__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-vip-club__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-vip-club__text-block p,
  .page-vip-club__faq-answer p {
    font-size: 1rem;
  }

  .page-vip-club__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

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

  /* Ensure all images and their containers are responsive */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container,
  .page-vip-club__content-wrapper,
  .page-vip-club__image-block,
  .page-vip-club__text-block,
  .page-vip-club__hero-section,
  .page-vip-club__hero-content {
    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;
  }
}