/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #ffffff; /* Dark body background #0a0a0a, so light text is required */
  background-color: transparent; /* Body background is handled by shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(135deg, #26A9E0, #0a0a0a);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

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

.page-privacy-policy__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1e87b7;
  transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Ensure content background matches body for seamless look */
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-privacy-policy__highlight {
  color: #26A9E0;
  font-weight: bold;
}

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

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

.page-privacy-policy__image-text-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 50px;
}

.page-privacy-policy__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-privacy-policy__content-image {
  flex: 0 0 400px;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-privacy-policy__text-content {
  flex: 1;
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}

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

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

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

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

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

.page-privacy-policy__faq-answer .page-privacy-policy__text-block {
  margin-bottom: 0;
}

/* Contact Info */
.page-privacy-policy__contact-info {
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-privacy-policy__contact-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #1e87b7;
  text-decoration: underline;
}

.page-privacy-policy__contact-image {
  margin-top: 30px;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy__image-text-block,
  .page-privacy-policy__image-text-block--reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-privacy-policy__content-image {
    max-width: 80%;
    margin-bottom: 30px;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

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

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

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

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

  .page-privacy-policy__content-area {
    padding: 40px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    text-align: center;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
    text-align: center;
  }

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-text-block,
  .page-privacy-policy__content-area,
  .page-privacy-policy__contact-info,
  .page-privacy-policy__faq-item,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__text-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important; /* Override specific image max-width for mobile */
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary {
    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;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.1em;
  }
}