/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff; /* Light text */
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  margin-bottom: 40px;
}

.page-privacy-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title */
  font-weight: bold;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__hero-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-button:hover {
  background-color: #1e87c0; /* Slightly darker brand color on hover */
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtly blend with background */
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__content-section:last-of-type {
  border-bottom: none;
}

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

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

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text */
}

.page-privacy-policy__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
  color: #1e87c0;
}

.page-privacy-policy__image-wrapper {
  margin: 40px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Dark background sections */
.page-privacy-policy__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Light background sections (for alternating contrast) */
.page-privacy-policy__light-bg {
  background-color: #0a0a0a; /* Original dark background */
  color: #ffffff;
}

/* CTA Button */
.page-privacy-policy__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 20px auto;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button:hover {
  background-color: #c96706;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for items */
  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: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for questions */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.02);
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #ffffff; /* White text for question text */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle icon */
}

/* For <details> tag, hide default marker */
.page-privacy-policy__faq-item summary {
  list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

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

/* Ensure details open/close smoothly - for JS fallback if needed */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  transition: max-height 0.5s ease-in-out;
}

.page-privacy-policy__faq-item:not([open]) .page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }

  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }

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

  .page-privacy-policy__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-privacy-policy__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 30px auto;
  }

  /* Buttons responsive */
  .page-privacy-policy__hero-button,
  .page-privacy-policy__cta-button,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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;
    margin-left: auto;
    margin-right: auto;
  }

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

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.9em;
  }
  .page-privacy-policy__faq-question {
    font-size: 1em;
  }
}