/* style/privacy-policy.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-light: #f8f9fa;
  --accent-login: #EA7C07;
}

.page-privacy-policy {
  color: var(--text-light); /* Body background is dark (#1a1a1a), so text should be light */
  background-color: var(--bg-dark);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image slightly for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  /* No fixed font-size, rely on clamp for responsiveness if needed */
  font-size: clamp(2em, 5vw, 3.5em);
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--secondary-color); /* White background for main content */
  color: var(--text-dark); /* Dark text on white background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-40px); /* Lift content slightly over hero section */
  position: relative;
  z-index: 2;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item[open] {
  background-color: #e6f7ff; /* Lighter background when open */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  background-color: #d9edf7; /* Slightly darker when open */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  padding-top: 10px;
  transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 2000px; /* For details tag native behavior */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content {
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 0.95em;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
    transform: translateY(-20px);
  }

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 0.95em;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific mobile styles */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

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

/* Ensure content area images maintain minimum size if not handled by max-width:100% */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}