/* 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 body background */
  background-color: #f8f9fa; /* Assuming body background from shared.css */
}

/* Sections with dark background, text should be light */
.page-vip-club__dark-bg {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Text Main from custom palette */
}

/* Sections with light background, text should be dark */
.page-vip-club__light-bg {
  background-color: #f8f9fa; /* Body background from shared.css, or a lighter tone */
  color: #333333; /* Dark text for contrast */
}

/* Specific text contrast fix for light background sections with dark headings */
.page-vip-club__text-contrast-fix {
  color: #333333; /* Ensure dark text on light background */
}

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

.page-vip-club__section {
  padding: 60px 0;
}

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

.page-vip-club__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-vip-club__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
  min-height: 200px; /* Minimum size requirement */
}

.page-vip-club__hero-content {
  position: relative;
  z-index: 1; /* Ensure content is above image if any overlap */
  max-width: 800px;
  margin-top: 30px; /* Space between image and text */
  padding: 0 20px;
}

.page-vip-club__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

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

/* Headings */
.page-vip-club__heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section (dark-bg or light-bg) */
}

.page-vip-club__sub-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-vip-club__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

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

.page-vip-club__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast on green button */
  border: none;
}

.page-vip-club__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-vip-club__btn-secondary {
  background-color: #ffffff;
  color: #11A84E; /* Brand color text on white background */
  border: 2px solid #11A84E;
  margin-top: 20px;
}

.page-vip-club__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

/* Lists */
.page-vip-club__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-vip-club__list-item {
  margin-bottom: 10px;
  color: inherit; /* Inherit color from parent section */
}

/* Card Grid */
.page-vip-club__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-vip-club__card {
  background-color: #11271B; /* Card B G from custom palette */
  border: 1px solid #2E7A4E; /* Border from custom palette */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main for dark card background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__card-image {
  width: 100%;
  max-width: 300px; /* Example max width for card image */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-vip-club__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-vip-club__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Image content within sections */
.page-vip-club__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 800px;
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* FAQ Section */
.page-vip-club__faq-list {
  margin-top: 30px;
}

.page-vip-club__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-vip-club__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #F2FFF6; /* Text Main */
}

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

.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-vip-club__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-vip-club__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-vip-club__section {
    padding: 40px 0;
  }

  .page-vip-club__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-vip-club__heading {
    font-size: 2rem;
  }

  .page-vip-club__sub-heading {
    font-size: 1.5rem;
  }

  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary {
    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;
    margin-left: 0;
    margin-right: 0;
  }

  .page-vip-club__hero-content .page-vip-club__btn-primary {
    margin-top: 20px;
  }

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

  .page-vip-club__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Responsive images */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Responsive image containers */
  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container,
  .page-vip-club__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-vip-club__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for internal spacing */
  }

  /* Specific overrides for containers that need full width without padding */
  .page-vip-club__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-vip-club__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure buttons in a group wrap */
  .page-vip-club__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

/* Ensure min image sizes are respected */
.page-vip-club__hero-image,
.page-vip-club__card-image,
.page-vip-club__image-content {
  min-width: 200px;
  min-height: 200px;
}