/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--text-main, #FFF6D6); /* Default text color from custom palette */
  background-color: var(--background, #0A0A0A); /* Default background from custom palette */
  line-height: 1.6;
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: var(--background, #0A0A0A);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for better text contrast */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main, #FFF6D6);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 30px;
  color: rgba(255, 246, 214, 0.9); /* Slightly muted text main for description */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Content Sections --- */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--card-bg, #111111); /* Card background for content sections */
  color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary-color, #F2C14E);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color, #F2C14E);
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--secondary-color, #FFD36B);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__link {
  color: var(--primary-color, #F2C14E);
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: var(--secondary-color, #FFD36B);
  text-decoration: none;
}

/* --- CTA Section --- */
.page-privacy-policy__cta-section {
  background-color: var(--background, #0A0A0A); /* Use background color */
  padding: 60px 20px;
  text-align: center;
  color: var(--text-main, #FFF6D6);
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary-color, #F2C14E);
  margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 246, 214, 0.9);
}

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E7B02A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--primary-color, #F2C14E);
  border: 2px solid var(--primary-color, #F2C14E);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--primary-color, #F2C14E);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--background, #0A0A0A); /* Background from custom palette */
  color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg, #111111); /* Card background from custom palette */
  border: 1px solid var(--border-color, #3A2A12); /* Border color from custom palette */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-color, #F2C14E);
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-heading {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  flex-grow: 1;
  text-align: left;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Plus becomes an X (minus) */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 246, 214, 0.8); /* Muted text main for answer */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it expands */
  padding: 15px 25px 25px 25px; /* Adjust padding when active */
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 10px;
  color: inherit;
}
.page-privacy-policy__faq-answer p:last-child {
  margin-bottom: 0;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image {
    width: 100%;
    height: 450px; /* Adjust height for tablet */
  }
}

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

  .page-privacy-policy__container {
    padding: 0 15px;
  }

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

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-image {
    height: 300px; /* Adjust height for mobile */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__cta-section {
    padding: 40px 0;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: 25px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block {
    font-size: 0.95rem;
  }

  /* Images responsive for mobile */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  /* Buttons responsive for mobile */
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    width: 25px;
    height: 25px;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

/* Custom Color Palette Integration */
:root {
  --primary-color: #F2C14E; /* Main Brand Color */
  --secondary-color: #FFD36B; /* Auxiliary Brand Color */
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  --card-bg: #111111; /* Card Background */
  --background: #0A0A0A; /* Page Background */
  --text-main: #FFF6D6; /* Main Text Color */
  --border-color: #3A2A12; /* Border Color */
  --glow-color: #FFD36B; /* Glow Color */
}

/* Ensure contrast for elements */
.page-privacy-policy {
  color: var(--text-main); /* Light text on dark background */
  background-color: var(--background);
}

.page-privacy-policy__content-section {
  background-color: var(--card-bg); /* Darker section background */
  color: var(--text-main);
}

.page-privacy-policy__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-privacy-policy__light-bg {
  background-color: var(--card-bg); /* Using card-bg as the "lighter" alternative on this page */
  color: var(--text-main);
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  color: var(--text-main);
}

/* Button colors are defined with specific gradients and text colors above */
/* Ensure all text elements use --text-main or a slightly muted version for contrast on dark backgrounds */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main); /* Default for headings */
}
.page-privacy-policy__main-title, .page-privacy-policy__section-title {
  color: var(--primary-color); /* Highlight with primary color */
}
.page-privacy-policy__sub-title {
  color: var(--secondary-color); /* Highlight with secondary color */
}
.page-privacy-policy__hero-description, .page-privacy-policy__cta-description, .page-privacy-policy__faq-answer {
  color: rgba(255, 246, 214, 0.8); /* Slightly muted for readability */
}