/* style/privacy-policy.css */

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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  background-color: var(--bg-color);
  color: var(--text-main);
}

.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: 12px;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast */
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--bg-color); /* Matches body background */
  color: var(--text-main); /* Light text for contrast */
  line-height: 1.7;
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--glow);
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-privacy-policy__paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.page-privacy-policy__list strong {
  color: var(--text-main);
}

.page-privacy-policy__faq-section {
  margin-top: 60px;
  padding: 30px;
  border-radius: 12px;
  background-color: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--gold);
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 15px;
}

.page-privacy-policy__faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  list-style: none; /* For details summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* For details summary */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--glow);
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-top: 10px;
  padding-left: 20px;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5rem;
  }

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

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem); /* Use clamp for H1 */
    margin-bottom: 15px;
  }

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

  .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;
  }

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

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list li,
  .page-privacy-policy__faq-answer {
    font-size: 0.95rem;
  }

  .page-privacy-policy__faq-section {
    padding: 20px;
    margin-top: 40px;
  }

  .page-privacy-policy__faq-question {
    font-size: 1rem;
  }

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

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