/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color from custom scheme */
  background-color: var(--background-color, #08160F); /* Default background from custom scheme */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  padding-bottom: 40px;
  background-color: var(--card-bg, #11271B); /* Using card bg as hero background */
  overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for H1 font size */
  font-weight: 700;
  color: var(--gold, #F2C14E); /* Using gold for H1 for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

/* Primary Button */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6); /* Ensure text is visible on dark button */
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-privacy-policy__container {
  background-color: var(--card-bg, #11271B); /* Card background for main content block */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main, #F2FFF6); /* Main text color */
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--gold, #F2C14E); /* Gold for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider, #1E3A2A);
  padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--text-main, #F2FFF6);
}

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

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

.page-privacy-policy__list-item strong {
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Info */
.page-privacy-policy__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: var(--deep-green, #0A4B2C); /* Deep green for contact box */
  border-radius: 8px;
  border: 1px solid var(--border, #2E7A4E);
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__contact-item strong {
  color: var(--gold, #F2C14E);
}

.page-privacy-policy__contact-link {
  color: var(--glow, #57E38D); /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--deep-green, #0A4B2C); /* Deep green for FAQ item background */
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-item summary:hover {
  background-color: rgba(var(--primary-rgb, 17, 168, 78), 0.1); /* Slightly lighter on hover */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--gold, #F2C14E); /* Gold for FAQ question text */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow, #57E38D);
  transition: transform 0.2s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  /* For non-details fallback, would use max-height/transition */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* HERO Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 20px;
  }

  .page-privacy-policy__hero-image {
    margin-bottom: 20px;
  }

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

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

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Buttons */
  .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: 12px 15px !important;
    font-size: 1em !important;
  }

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

  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__contact-info,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Other Content Modules */
  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__faq-item summary {
    padding: 15px 20px;
  }

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