/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --page-privacy-policy-bg: #08160F;
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-text-main: #F2FFF6;
  --page-privacy-policy-text-secondary: #A7D9B8;
  --page-privacy-policy-border: #2E7A4E;
  --page-privacy-policy-glow: #57E38D;
  --page-privacy-policy-gold: #F2C14E;
  --page-privacy-policy-divider: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
  --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
  background-color: var(--page-privacy-policy-bg); /* Dark background */
  color: var(--page-privacy-policy-text-main); /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  color: var(--page-privacy-policy-gold);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-privacy-policy__hero-description {
  font-size: 1.15rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--page-privacy-policy-bg);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-privacy-policy-gold);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--page-privacy-policy-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-left: 4px solid var(--page-privacy-policy-gold);
  padding-left: 15px;
}

.page-privacy-policy__text-block p,
.page-privacy-policy__text-block li {
  font-size: 1rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 15px;
  line-height: 1.7;
  min-height: 200px; /* Ensure content images are not too small */
}

.page-privacy-policy__text-block p:last-child {
  margin-bottom: 0;
}

.page-privacy-policy__text-block strong {
  color: var(--page-privacy-policy-text-main);
  font-weight: bold;
}

.page-privacy-policy__text-block ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block ul li {
  margin-bottom: 10px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-privacy-policy__btn-primary {
  background: var(--page-privacy-policy-button-gradient);
  color: #ffffff; /* Always white text on dark button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--page-privacy-policy-gold);
  border: 2px solid var(--page-privacy-policy-gold);
  margin-left: 15px;
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--page-privacy-policy-gold);
  transform: translateY(-3px);
}

.page-privacy-policy__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-privacy-policy-deep-green);
  border-top: 1px solid var(--page-privacy-policy-divider);
}

.page-privacy-policy__cta-content {
  max-width: 900px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 40px;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Ensure content area images are responsive and not too small */
.page-privacy-policy__text-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum width for content images */
  min-height: 200px; /* Minimum height for content images */
  object-fit: cover;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__container,
  .page-privacy-policy__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-privacy-policy__hero-description,
  .page-privacy-policy__cta-description {
    font-size: 1rem;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .page-privacy-policy__text-block p,
  .page-privacy-policy__text-block li {
    font-size: 0.95rem;
  }

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .page-privacy-policy__btn-secondary:last-child {
    margin-bottom: 0;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Force responsive images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-content,
  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }
}

/* No filter properties to change image colors */
.page-privacy-policy img {
  filter: none; /* Explicitly ensure no filters are applied */
}