/* style/terms-conditions.css */

/* Base styles for the terms-conditions page */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark background */
  background: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
  padding-bottom: 60px; /* Space above footer */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Fixed header spacing */
.page-terms-conditions__container--padded-top {
  padding-top: 120px; /* Desktop padding for fixed header */
}

/* Hero Banner Section */
.page-terms-conditions__hero-banner {
  background: linear-gradient(135deg, #1a1a1a, #333333); /* Dark gradient background */
  padding: 60px 0;
  text-align: center;
  border-bottom: 2px solid #FFD700; /* Gold accent */
}

.page-terms-conditions__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-terms-conditions__link-inline {
  color: #FFD700; /* Gold for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__link-inline:hover {
  color: #ffffff;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background: #FFD700; /* Gold button background */
  color: #1a1a1a; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__cta-button--small {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 20px;
}

/* General Section Styling */
.page-terms-conditions__section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-heading {
  font-size: 32px;
  color: #FFD700; /* Gold for section headings */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-terms-conditions__text-block {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for text blocks */
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-terms-conditions__text-block h3 {
  font-size: 24px;
  color: #FFD700; /* Gold for sub-headings */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-terms-conditions__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__text-block li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-terms-conditions__highlight {
  color: #FFD700; /* Gold for highlighted text */
  font-weight: bold;
}

/* Image styles */
.page-terms-conditions__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1); /* Darker background for question */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-terms-conditions__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700; /* Gold border on hover */
}

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

.page-terms-conditions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  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: 32px;
  height: 32px;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
  color: #ffffff; /* White when active */
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-terms-conditions__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 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 38px;
  }
  .page-terms-conditions__section-heading {
    font-size: 28px;
  }
  .page-terms-conditions__text-block h3 {
    font-size: 22px;
  }
  .page-terms-conditions__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__container--padded-top {
    padding-top: 100px; /* Mobile padding for fixed header */
  }

  .page-terms-conditions__hero-banner {
    padding: 40px 0;
  }

  .page-terms-conditions__main-title {
    font-size: 32px;
  }

  .page-terms-conditions__intro-text {
    font-size: 16px;
    padding: 0 10px;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
}