/* style/privacy-policy.css */

/* Global styles for the privacy policy page content */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background, #08160F); /* Page background color */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  text-align: center;
  padding: 20px; /* Small top padding, body handles header offset */
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  min-width: 200px; /* Minimum size for all images */
  min-height: 200px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  position: relative; /* Ensure content is not absolutely positioned over image */
  z-index: 1; /* Ensure text is above any background elements if present */
}

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

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

/* CTA Buttons in Hero */
.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  min-width: 180px; /* Minimum width for buttons */
}

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

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background, #08160F); /* Consistent background */
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__dark-section {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__heading {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--text-main, #F2FFF6);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-privacy-policy__sub-heading {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__text-block {
  margin-bottom: 40px;
  background-color: var(--card-bg, #11271B); /* Card background for text blocks */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  min-width: 200px; /* Minimum size for all images */
  min-height: 200px;
  object-fit: cover;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  font-size: 1.05em;
}

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

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

.page-privacy-policy a:hover {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

/* Call to Action Section at the bottom */
.page-privacy-policy__cta-section {
  background-color: var(--deep-green, #0A4B2C); /* Custom deep green background */
  color: var(--text-main, #F2FFF6);
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid var(--divider, #1E3A2A);
}

.page-privacy-policy__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__cta-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px; /* Adjust padding for mobile */
  }

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

  .page-privacy-policy__main-title {
    font-size: 2.2em; /* Adjust for mobile */
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-privacy-policy__heading {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  .page-privacy-policy__text-block {
    padding: 20px;
  }

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

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-privacy-policy__cta-section {
    padding: 40px 15px;
  }

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

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

/* Color Contrast Enforcement - Specific overrides for clarity */
/* Ensure text is always readable on its background */
.page-privacy-policy__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__text-block {
  background-color: var(--card-bg, #11271B); /* Dark card background */
  color: var(--text-main, #F2FFF6); /* Light text on dark card */
}

/* Ensure links are visible */
.page-privacy-policy a {
  color: var(--gold, #F2C14E); /* Gold link on dark background */
}

.page-privacy-policy a:hover {
  color: var(--glow, #57E38D); /* Lighter green on hover */
}