/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  background-color: var(--background-color, #08160F); /* Fallback to custom background color */
  color: var(--text-main-color, #F2FFF6); /* Fallback to custom main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom before the footer */
}

/* Ensure body padding-top is handled by shared.css */
/* .page-privacy-policy should not have padding-top: var(--header-offset) */

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as per requirement */
  overflow: hidden;
  background-color: var(--background-color, #08160F);
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly dim the background image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Use clamp for H1 font size */
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 0;
}

.page-privacy-policy__content-section {
  padding: 40px 20px;
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__dark-section {
  background-color: var(--card-bg-color, #11271B); /* Use Card BG for darker sections */
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider-color, #1E3A2A);
  padding-bottom: 15px;
}

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

.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(--text-secondary-color, #A7D9B8);
}

.page-privacy-policy__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow-color, #57E38D); /* Use Glow color for list bullet */
  font-weight: bold;
}

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

.page-privacy-policy__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy a {
  color: var(--glow-color, #57E38D); /* Use Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--gold-color, #F2C14E); /* Use Gold color on hover */
  text-decoration: underline;
}

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

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom gradient */
  color: var(--text-main-color, #F2FFF6);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Color contrast enforcement (WCAG AA) */
.page-privacy-policy {
  color: #F2FFF6; /* Main text on dark background */
}
.page-privacy-policy__dark-section {
  background-color: #11271B; /* Card BG for dark sections */
  color: #F2FFF6; /* Light text on dark background */
}
.page-privacy-policy__text-block {
  color: #A7D9B8; /* Secondary text color */
}
.page-privacy-policy__hero-content {
    background-color: rgba(17, 39, 27, 0.8); /* Slightly darker card bg for better contrast on hero */
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Fixed header spacing */
  }

  .page-privacy-policy__hero-content {
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 0.95em;
  }

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

  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-item {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__cta-button {
    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;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }
}

/* Ensure content area image CSS does not make display size < 200px */
.page-privacy-policy__image {
  width: 100%; /* Will scale down due to max-width: 100% */
  min-width: 200px; /* Ensure minimum display width for desktop */
  min-height: 200px; /* Ensure minimum display height for desktop */
  /* On mobile, min-width/height are unset by !important in media query */
}

/* No CSS filters for images */
.page-privacy-policy img {
  filter: none;
}