/* style/privacy-policy.css */

/* Base styles for the page content, ensuring light text on a dark background */
.page-privacy-policy {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Body background is black, content sections will have slightly lighter dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-privacy-policy__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px; /* Space between text and image */
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.15rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-privacy-policy__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

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

.page-privacy-policy__content-section {
  background-color: #1a1a1a; /* Dark background for content sections */
  padding: 50px 0;
  color: #ffffff;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: left;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: left;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-privacy-policy a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #3cb4f2; /* Slightly lighter on hover */
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min-width for images */
  min-height: 200px;
}

.page-privacy-policy__last-updated {
  font-style: italic;
  text-align: right;
  margin-top: 30px;
  color: #cccccc;
}

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

.page-privacy-policy__faq-item {
  background-color: #2a2a2a;
  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: 18px 25px;
  background-color: #26A9E0; /* Brand color for FAQ question background */
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  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-question:hover {
  background-color: #3cb4f2;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #3a3a3a;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
  padding-bottom: 15px;
}

/* For JS-based FAQ if not using <details> (fallback) */
.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Larger value to ensure content fits */
  padding-top: 15px;
  padding-bottom: 15px;
}

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

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

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 200px !important;
    min-height: 200px !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;
  }

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.2rem;
  }
}