/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.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, body handles header offset */
  min-height: 400px;
  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;
  opacity: 0.3; /* Subtle overlay for text readability */
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-privacy-policy__lead-text {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #26A9E0; /* Brand primary color for titles */
  margin-bottom: 30px;
  text-align: center;
}

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

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

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

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

.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; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #EA7C07; /* Login color for hover */
  text-decoration: none;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-privacy-policy__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

/* Utility classes for color contrast */
.page-privacy-policy__dark-bg {
  color: #ffffff; /* Deep background, light text */
}

.page-privacy-policy__light-bg {
  color: #333333; /* Light background, dark text */
  background-color: #ffffff; /* Example light background */
}

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    min-height: 300px;
  }

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

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

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

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset; /* Allow smaller display if needed, but not below 200px source */
    min-height: unset;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-privacy-policy__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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