/* style/privacy-policy.css */

/* Custom properties for colors */
:root {
  --pp-primary-color: #11A84E;
  --pp-secondary-color: #22C768;
  --pp-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --pp-card-bg: #11271B;
  --pp-background-color: #08160F; /* This is the body background from shared.css */
  --pp-text-main: #F2FFF6;
  --pp-text-secondary: #A7D9B8;
  --pp-border-color: #2E7A4E;
  --pp-glow-color: #57E38D;
  --pp-gold-color: #F2C14E;
  --pp-divider-color: #1E3A2A;
  --pp-deep-green: #0A4B2C;
}

/* Base styles for the page, inheriting from body background */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--pp-text-main); /* Light text for dark background */
  background-color: var(--pp-background-color); /* Ensure consistency, though body handles it */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--pp-deep-green); /* A darker green for the hero section background */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and content */
  position: relative;
  z-index: 1;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: var(--pp-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Soft glow */
}

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

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

.page-privacy-policy__section-intro {
  margin-bottom: 50px;
  text-align: center;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--pp-primary-color);
  margin-bottom: 25px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(34, 199, 104, 0.3);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--pp-gold-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__section-text {
  font-size: 1em;
  color: var(--pp-text-main);
  margin-bottom: 20px;
}

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

.page-privacy-policy__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--pp-text-secondary);
}

.page-privacy-policy__list-item::before {
  content: '✓'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: var(--pp-primary-color);
  font-weight: bold;
}

.page-privacy-policy__card {
  background-color: var(--pp-card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--pp-border-color);
}

.page-privacy-policy__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
}

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

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--pp-button-gradient);
  color: #ffffff; /* White text for button */
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--pp-deep-green);
  border-radius: 10px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-text {
  font-size: 1.2em;
  color: var(--pp-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--pp-deep-green); /* Slightly different dark background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--pp-border-color);
  color: var(--pp-text-main); /* Ensure text is light */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--pp-gold-color);
  background-color: var(--pp-deep-green); /* Match item background */
  border-bottom: 1px solid var(--pp-divider-color);
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--pp-deep-green);
  filter: brightness(1.1);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid var(--pp-divider-color);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--pp-primary-color);
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change + to X visually */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: var(--pp-text-secondary);
}

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


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-privacy-policy__hero-content {
    max-width: 700px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-privacy-policy__description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-privacy-policy__sub-title {
    font-size: clamp(1.2em, 3vw, 1.6em);
  }
}

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

  /* Images 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__image-wrapper,
  .page-privacy-policy__data-collection-section,
  .page-privacy-policy__data-usage-section,
  .page-privacy-policy__data-sharing-section,
  .page-privacy-policy__user-rights-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__card,
  .page-privacy-policy__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding adjustments for hero and video sections */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    padding-bottom: 30px !important;
  }

  /* Buttons 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: 12px 15px !important; /* Adjust padding for smaller screens */
    font-size: 1em !important;
  }

  .page-privacy-policy__hero-content,
  .page-privacy-policy__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

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

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-privacy-policy__sub-title {
    font-size: clamp(1.1em, 5vw, 1.5em);
  }
  .page-privacy-policy__hero-section {
    padding-bottom: 20px;
  }
  .page-privacy-policy__content-area {
    padding: 20px 10px;
  }
  .page-privacy-policy__card {
    padding: 20px 15px;
  }
  .page-privacy-policy__list-item {
    padding-left: 20px;
  }
}