/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page content */
  background-color: var(--bg-color); /* Inherit from shared, should be #08160F */
}

.page-privacy-policy__dark-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero section styles */
.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 */
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.page-privacy-policy__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General content section styles */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for main content for contrast */
  color: #333333; /* Dark text for light background */
}

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

.page-privacy-policy__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--deep-green); /* Use a darker green for titles on light background */
  margin-bottom: 30px;
  text-align: left;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 15px;
}

.page-privacy-policy__subsection-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--deep-green);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-privacy-policy__list-item strong {
  color: var(--deep-green);
}

.page-privacy-policy a {
  color: var(--main-color);
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: var(--aux-color);
}

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

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--main-color);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-privacy-policy__btn-large {
  padding: 16px 32px;
  font-size: 1.2em;
}

.page-privacy-policy__cta-block {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.5;
  color: var(--text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image-wrapper {
    max-height: 400px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }
  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }
  .page-privacy-policy__hero-image {
    filter: brightness(0.5) !important;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-privacy-policy__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-privacy-policy__content-section {
    padding: 40px 15px;
  }
  .page-privacy-policy__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    text-align: center;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.4em;
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }
  .page-privacy-policy__cta-block {
    padding: 30px 20px;
  }
  .page-privacy-policy__cta-text {
    font-size: 1.1em;
  }

  /* Mobile responsive for images */
  .page-privacy-policy img {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure content images are not too small */
  .page-privacy-policy__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Mobile responsive for video (if any) */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }
}

/* Color contrast specific styles */
.page-privacy-policy__hero-section .page-privacy-policy__hero-image {
  filter: brightness(0.6); /* Ensure dark enough background for light text */
}

.page-privacy-policy__hero-section .page-privacy-policy__main-title,
.page-privacy-policy__hero-section .page-privacy-policy__description {
  color: var(--text-main); /* #F2FFF6 on dark background */
}

.page-privacy-policy__content-section {
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__section-title,
.page-privacy-policy__subsection-title {
  color: var(--deep-green); /* Darker green on light background */
}

.page-privacy-policy p,
.page-privacy-policy li {
  color: #333333;
}

/* Ensure content area images are not smaller than 200px */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* All images in content area should not be smaller than 200px (general selector) */
.page-privacy-policy img:not(.shared-logo):not(.shared-icon) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures image covers the min dimensions without distortion */
}