/* style/vip-member-privileges.css */

/* Base styles for the VIP member privileges page */
.page-vip-member-privileges {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

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

/* Section spacing and background colors */
.page-vip-member-privileges__hero-banner {
  padding-top: 150px; /* Adjust for fixed header on desktop */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #8B0000, #4a0000); /* Dark red gradient */
  text-align: center;
}

.page-vip-member-privileges__intro-section,
.page-vip-member-privileges__privileges-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-vip-member-privileges__levels-section,
.page-vip-member-privileges__faq-section,
.page-vip-member-privileges__cta-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
  color: #f0f0f0; /* Light text for dark background */
}

/* Headings */
.page-vip-member-privileges__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-vip-member-privileges__main-title-link {
  color: #FFD700; /* Gold color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-vip-member-privileges__main-title-link:hover {
  color: #ffffff;
}

.page-vip-member-privileges__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-vip-member-privileges__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-vip-member-privileges__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-vip-member-privileges__text-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-vip-member-privileges__text-link:hover {
  color: #8B0000;
}

/* Buttons */
.page-vip-member-privileges__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-vip-member-privileges__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text for gold background */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-vip-member-privileges__btn--primary:hover {
  background-color: #e6c200;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-vip-member-privileges__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-vip-member-privileges__btn--secondary:hover {
  background-color: #FFD700;
  color: #000000; /* Black text for gold background */
  transform: translateY(-2px);
}

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

/* Image styles */
.page-vip-member-privileges__image-full {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-vip-member-privileges__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-vip-member-privileges__content-wrapper p {
  max-width: 800px;
  text-align: center;
}

/* VIP Levels Grid */
.page-vip-member-privileges__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-member-privileges__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-vip-member-privileges__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-vip-member-privileges__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #8B0000; /* Deep red for card titles */
}

.page-vip-member-privileges__card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-member-privileges__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-vip-member-privileges__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-vip-member-privileges__list li::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-vip-member-privileges__note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: #cccccc;
}

/* Privileges Section */
.page-vip-member-privileges__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.page-vip-member-privileges__privilege-item {
  background-color: #ffffff; /* White background for items */
  color: #333333; /* Dark text for items */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-vip-member-privileges__privilege-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-vip-member-privileges__privilege-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-vip-member-privileges__privilege-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #8B0000; /* Deep red for privilege titles */
}

.page-vip-member-privileges__privilege-item p {
  font-size: 16px;
  color: #555555;
}

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

.page-vip-member-privileges__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-vip-member-privileges__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-vip-member-privileges__faq-item.active .page-vip-member-privileges__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #222222; /* Darker background for answers */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-vip-member-privileges__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333; /* Dark background for questions */
  border: 1px solid #444444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-vip-member-privileges__faq-question:hover {
  background: #444444;
  border-color: #555555;
}

.page-vip-member-privileges__faq-question:active {
  background: #555555;
}

.page-vip-member-privileges__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for FAQ questions */
  pointer-events: none;
}

.page-vip-member-privileges__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-vip-member-privileges__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-member-privileges__grid-3-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-vip-member-privileges__grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .page-vip-member-privileges__main-title {
    font-size: 40px;
  }

  .page-vip-member-privileges__section-title {
    font-size: 32px;
  }

  .page-vip-member-privileges__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-vip-member-privileges__hero-banner {
    padding-top: 120px; /* Adjust for fixed header on mobile */
    padding-bottom: 60px;
  }

  .page-vip-member-privileges__intro-section,
  .page-vip-member-privileges__levels-section,
  .page-vip-member-privileges__privileges-section,
  .page-vip-member-privileges__faq-section,
  .page-vip-member-privileges__cta-section {
    padding: 60px 0;
  }

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

  .page-vip-member-privileges__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-vip-member-privileges__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-vip-member-privileges__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-vip-member-privileges__hero-description {
    font-size: 16px;
  }

  .page-vip-member-privileges__btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-vip-member-privileges__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

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

  .page-vip-member-privileges__grid-3-col,
  .page-vip-member-privileges__grid-2-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-vip-member-privileges__card,
  .page-vip-member-privileges__privilege-item {
    padding: 25px;
  }

  .page-vip-member-privileges__card-title {
    font-size: 20px;
  }

  .page-vip-member-privileges__privilege-title {
    font-size: 20px;
  }

  .page-vip-member-privileges__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-vip-member-privileges__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-vip-member-privileges__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-vip-member-privileges__faq-answer {
    padding: 0 15px;
  }
  
  .page-vip-member-privileges__faq-item.active .page-vip-member-privileges__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive and do not cause horizontal scroll */
  .page-vip-member-privileges img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-vip-member-privileges__section,
  .page-vip-member-privileges__card,
  .page-vip-member-privileges__container,
  .page-vip-member-privileges__privilege-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}