/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* Ensure body padding-top is handled by shared.css, not here */
/* .page-privacy-policy { padding-top: var(--header-offset); } - DO NOT USE HERE */

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as per instruction */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #FFD36B; /* Glow for important titles */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__section {
  padding: 40px 20px;
  background-color: #0A0A0A;
  border-bottom: 1px solid #3A2A12;
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

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

.page-privacy-policy__heading {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2C14E;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
}

.page-privacy-policy__subheading {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy__list-item strong {
  color: #F2C14E;
}

.page-privacy-policy a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #FFD36B;
  text-decoration: underline;
}

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

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFF6D6;
}

/* Button styles */
.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button for contrast */
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* FAQ styles */
.page-privacy-policy__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #FFF6D6;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #111111;
}

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

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
  }

  .page-privacy-policy__subtitle {
    font-size: 1em;
  }

  .page-privacy-policy__heading {
    font-size: 1.8em;
  }

  .page-privacy-policy__subheading {
    font-size: 1.3em;
  }

  .page-privacy-policy__section {
    padding: 30px 15px;
  }

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  /* Mobile button adaptation */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__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;
  }
}

/* Color Contrast Safeguards (already integrated with chosen colors, but for explicit mention) */
.page-privacy-policy__dark-bg {
  color: #FFF6D6;
  background: #0A0A0A;
}

/* Button colors already defined with sufficient contrast */
.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

/* Emergency contrast fix classes (as per instructions, though not explicitly used if colors are right) */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}