/* style/privacy-policy.css */
:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light-card: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  color: var(--text-light); /* Body background is dark (#000 from shared.css), so text is light */
  line-height: 1.7;
  font-family: 'Arial', sans-serif;
}

/* Fixed nav bar spacing for main content */
.page-privacy-policy__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--background-dark);
  color: var(--text-light);
}

.page-privacy-policy__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust size for visual impact */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-privacy-policy__hero-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy__hero-description a:hover {
  text-decoration: underline;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold gradient */
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-privacy-policy__content-section {
  padding: 60px 20px;
  background: var(--background-light-card); /* Light background for content */
  color: var(--text-dark);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
}

.page-privacy-policy p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy p a:hover {
  text-decoration: underline;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
}

.page-privacy-policy__list li strong {
  color: var(--primary-color);
}

.page-privacy-policy__list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy__list li a:hover {
  text-decoration: underline;
}

.page-privacy-policy__image-full-width {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__last-updated {
  text-align: right;
  font-style: italic;
  color: #666;
  margin-top: 40px;
  font-size: 14px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background: var(--primary-color); /* Dark background for FAQ */
  color: var(--text-light);
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: #f0f0f0;
  border-color: var(--secondary-color);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-privacy-policy__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;
  background: var(--background-light-card);
  color: var(--text-dark);
  border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--secondary-color);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image {
    max-width: 600px;
  }

  .page-privacy-policy__main-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-privacy-policy__hero-content,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__content-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 32px;
  }

  .page-privacy-policy__hero-description {
    font-size: 16px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-privacy-policy__section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 15px;
    line-height: 1.7;
  }

  .page-privacy-policy__image-full-width {
    margin: 20px auto;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 28px;
  }

  .page-privacy-policy__section-title {
    font-size: 26px;
  }

  .page-privacy-policy__sub-title {
    font-size: 20px;
  }

  .page-privacy-policy__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
}