/* style/vip-club.css */

/* Body background is #f8f8f8 (light), so default text should be dark */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Background color from custom palette */
}

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

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

.page-vip-club__hero-content {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  color: #F2FFF6; /* Text Main for dark background */
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual effect */
  background-color: #0A4B2C; /* Deep Green from palette */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.page-vip-club__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold from palette */
  letter-spacing: 1px;
}

.page-vip-club__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary for dark background */
}

.page-vip-club__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-vip-club__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Sections General */
.page-vip-club__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #11A84E; /* Main color */
}

.page-vip-club__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-vip-club__dark-section .page-vip-club__section-title {
  color: #F2C14E; /* Gold for dark section titles */
}

.page-vip-club__dark-section .page-vip-club__section-description {
  color: #A7D9B8; /* Text Secondary for dark background */
}

/* Benefits Section */
.page-vip-club__benefits-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-vip-club__benefit-card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-vip-club__benefit-card:hover {
  transform: translateY(-5px);
}

.page-vip-club__benefit-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block; /* Ensure it's not inline */
  margin-left: auto;
  margin-right: auto;
}

.page-vip-club__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #11A84E;
}

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

/* Tiers Section */
.page-vip-club__tiers-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color from custom palette */
}

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

.page-vip-club__tier-card {
  background-color: #11271B; /* Card BG from custom palette */
  border: 1px solid #2E7A4E; /* Border color from custom palette */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main for dark background */
}

.page-vip-club__tier-name {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for tier names */
}

.page-vip-club__tier-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary for dark background */
}

.page-vip-club__tier-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-vip-club__tier-features li {
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #A7D9B8;
  position: relative;
  padding-left: 20px;
}

.page-vip-club__tier-features li::before {
  content: '✓';
  color: #2AD16F; /* Green checkmark */
  position: absolute;
  left: 0;
}

.page-vip-club__how-to-join {
  margin-top: 60px;
  padding: 40px;
  background-color: #0A4B2C; /* Deep Green from palette */
  border-radius: 10px;
  text-align: center;
  color: #F2FFF6;
}

.page-vip-club__how-to-join-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-vip-club__how-to-join-text {
  font-size: 1.05em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-vip-club__cta-button--secondary {
  background: linear-gradient(180deg, #F2C14E 0%, #E3A73D 100%); /* Gold gradient for secondary CTA */
  color: #11271B; /* Dark text for gold button */
}

.page-vip-club__cta-button--secondary:hover {
  background: linear-gradient(180deg, #E3A73D 0%, #F2C14E 100%);
}

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

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

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #11A84E; /* Main color for questions */
  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-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: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
}

/* CTA Section */
.page-vip-club__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6;
}

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

  .page-vip-club__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

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

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

  .page-vip-club__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
  }

  .page-vip-club__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-vip-club__benefits-section, 
  .page-vip-club__tiers-section, 
  .page-vip-club__faq-section, 
  .page-vip-club__cta-section {
    padding: 50px 0;
  }

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

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

  .page-vip-club__how-to-join {
    padding: 30px 20px;
  }

  .page-vip-club__how-to-join-title {
    font-size: 1.4em;
  }

  /* Mobile responsive for images */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for containers holding images/content */
  .page-vip-club__section, 
  .page-vip-club__card, 
  .page-vip-club__container, 
  .page-vip-club__hero-section, 
  .page-vip-club__benefits-section, 
  .page-vip-club__tiers-section, 
  .page-vip-club__faq-section, 
  .page-vip-club__cta-section, 
  .page-vip-club__benefit-card, 
  .page-vip-club__tier-card, 
  .page-vip-club__how-to-join, 
  .page-vip-club__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  /* Mobile responsive for buttons */
  .page-vip-club__cta-button, 
  .page-vip-club__btn-primary, 
  .page-vip-club__btn-secondary, 
  .page-vip-club a[class*="button"], 
  .page-vip-club a[class*="btn"] {
    max-width: 100% !important;
    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__cta-buttons, 
  .page-vip-club__button-group, 
  .page-vip-club__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-vip-club__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

/* Ensure no image filters are used */
.page-vip-club img {
  filter: none !important;
}