/* style/privacy-policy.css */
.page-privacy-policy {
  color: var(--text-main);
  background: var(--background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background: var(--deep-green);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the image slightly for visual flow */
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__lead-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--divider);
}

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

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  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-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

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

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

.page-privacy-policy__image--left {
  float: left;
  margin-right: 30px;
  width: 40%;
}

.page-privacy-policy__image--right {
  float: right;
  margin-left: 30px;
  width: 40%;
}

.page-privacy-policy__section.page-privacy-policy__introduction::after,
.page-privacy-policy__section.page-privacy-policy__data-usage::after,
.page-privacy-policy__section.page-privacy-policy__data-security::after,
.page-privacy-policy__section.page-privacy-policy__user-rights::after {
  content: '';
  display: table;
  clear: both;
}

.page-privacy-policy__list--contact {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.page-privacy-policy__list--contact .page-privacy-policy__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-privacy-policy__list--contact .page-privacy-policy__list-item strong {
  color: var(--glow);
}

.page-privacy-policy__list--contact .page-privacy-policy__list-item a {
  color: var(--glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__list--contact .page-privacy-policy__list-item a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* FAQ Section - Example structure for potential future use */
.page-privacy-policy__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  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: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background: var(--deep-green);
  transition: background 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background: var(--glow);
  color: #08160F;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: var(--text-secondary);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
  padding-bottom: 25px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  background: var(--glow);
  color: #08160F;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #08160F;
}

/* Custom Colors */
:root {
  --background-color: #08160F; /* From custom colors */
  --card-bg: #11271B; /* From custom colors */
  --text-main: #F2FFF6; /* From custom colors */
  --text-secondary: #A7D9B8; /* From custom colors */
  --border: #2E7A4E; /* From custom colors */
  --glow: #57E38D; /* From custom colors */
  --gold: #F2C14E; /* From custom colors */
  --divider: #1E3A2A; /* From custom colors */
  --deep-green: #0A4B2C; /* From custom colors */
}

/* Ensure body background is dark and text is light for contrast */
body {
  background-color: var(--background-color);
  color: var(--text-secondary);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    margin-top: -80px; /* Adjust for mobile */
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em; /* Smaller on mobile */
  }

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

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

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

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

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

  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    margin: 20px auto;
    width: 100%;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* 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;
  }
  
  .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;
    gap: 10px;
  }
  
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
  }

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

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