/* style/privacy-policy.css */

/* --- Custom Color Variables for this page --- */
/* These assume that --header-offset is defined in shared.css */
.page-privacy-policy {
  --background: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --gold: #F2C14E;
  --auxiliary-color: #22C768; /* Using the auxiliary color from the prompt */
  --glow: #57E38D;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;

  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background); /* Dark background #08160F */
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

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

.page-privacy-policy__section {
  padding: 60px 0;
}

.page-privacy-policy__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-privacy-policy__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--gold); /* Gold color for sub-titles */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-main);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-privacy-policy__link {
  color: var(--auxiliary-color); /* Use auxiliary color for links */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: var(--gold);
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Space below hero content */
  padding-top: 10px; /* Small top padding */
}

.page-privacy-policy__hero-image {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is in normal flow */
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Adjust to slightly overlap the image, but not cover the main part */
  background-color: var(--card-bg); /* Use card-bg with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__main-title {
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(32px, 5vw, 56px); /* Responsive font size for H1 */
  max-width: 60ch; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__lead-text {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main);
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- Card Grid for Data Collection --- */
.page-privacy-policy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__card {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-privacy-policy__card-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-privacy-policy__card p {
  color: var(--text-secondary); /* Lighter text for card content */
}

/* --- Image Content Styling --- */
.page-privacy-policy__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* --- Call to Action (CTA) --- */
.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

.page-privacy-policy__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-left: 15px;
  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 18px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.page-privacy-policy__faq-answer p:last-child {
  margin-bottom: 0;
}

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

  .page-privacy-policy__section {
    padding: 40px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px; /* Add side padding for mobile */
  }

  .page-privacy-policy__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-content {
    margin-top: -80px; /* Adjust overlap for mobile */
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__lead-text {
    font-size: 16px;
  }

  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
    gap: 20px;
  }

  .page-privacy-policy__card {
    padding: 20px;
  }

  .page-privacy-policy__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__image-content {
    margin: 20px auto;
  }

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__cta-wrapper {
    margin-top: 30px;
  }

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

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

  /* --- Mobile Image/Video/Button Responsive Adapters (Strictly enforced) --- */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-wrapper,
  .page-privacy-policy__card-grid,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content does not overflow */
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  /* Additional button specific mobile styles */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Allow buttons to wrap */
    gap: 10px; /* Space between wrapped buttons */
    display: flex; /* Ensure flex context for wrapping */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}