/* style/privacy-policy.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-privacy-policy {
  color: var(--text-main-color); /* Light text for dark body background */
  background-color: var(--background-color);
  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: 40px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background: rgba(17, 39, 27, 0.8); /* Semi-transparent card-bg-color */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
  color: var(--gold-color);
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  color: var(--text-main-color);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-privacy-policy__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 {
  color: var(--secondary-color);
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--glow-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-privacy-policy__subsection-title {
  color: var(--text-main-color);
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid var(--primary-color);
}

.page-privacy-policy__text-block {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

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

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

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

.page-privacy-policy__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-link {
  color: var(--gold-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-privacy-policy__contact-link:hover {
  color: var(--glow-color);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--card-bg-color);
  padding: 80px 0;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--deep-green-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
  outline: none;
}

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main-color);
  font-size: 1.2em;
  font-weight: 600;
  background-color: var(--deep-green-color);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--primary-color);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: var(--glow-color);
  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 20px 25px;
  color: var(--text-secondary-color);
  font-size: 1.05em;
  background-color: var(--card-bg-color);
  border-top: 1px solid var(--divider-color);
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  padding-top: 15px;
}

/* Clear floats */
.page-privacy-policy__data-collection::after,
.page-privacy-policy__data-sharing::after,
.page-privacy-policy__cookies::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }

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

  .page-privacy-policy__subsection-title {
    font-size: 1.6em;
  }

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

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

  .page-privacy-policy__hero-section {
    padding-bottom: 20px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content {
    margin-top: -40px;
    padding: 10px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 5vw, 2.2em);
    margin-bottom: 10px;
  }

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

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

  .page-privacy-policy__container {
    padding: 0 15px;
  }

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

  .page-privacy-policy__subsection-title {
    font-size: 1.4em;
    margin-top: 25px;
  }

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

  .page-privacy-policy__list {
    margin-left: 20px;
  }

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

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__data-collection,
  .page-privacy-policy__data-sharing,
  .page-privacy-policy__cookies {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Reset padding for .page-privacy-policy__container inside sections that already have padding */
  .page-privacy-policy__section .page-privacy-policy__container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Clear floats for mobile */
  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    margin: 20px auto;
  }

  /* Ensure text blocks clear floats properly */
  .page-privacy-policy__text-block {
    clear: both;
  }

  /* Button responsiveness (if any were added) */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .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;
  }
  
  .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;
  }
}