/* style/privacy-policy.css */

/* --- Base Styles & Layout --- */
.page-privacy-policy {
  /* body handles padding-top for fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for main content */
  background-color: var(--background-color); /* Page background from custom colors */
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
  background: var(--deep-green); /* Example dark background for hero */
  color: var(--text-main);
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filters are applied */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive H1 font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold); /* Gold for emphasis */
}

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

/* --- Buttons --- */
.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.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-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  min-width: 180px; /* Minimum width for buttons */
}

.page-privacy-policy__btn-primary {
  background: var(--button-gradient); /* Custom button gradient */
  color: var(--text-main); /* White text on dark button */
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--text-main); /* Main text color on transparent button */
  border: 2px solid var(--border-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(var(--text-main-rgb), 0.1); /* Slight background on hover */
  transform: translateY(-2px);
}

/* --- Content Sections --- */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--background-color); /* Match body background */
  color: var(--text-main); /* Ensure text is readable on dark background */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--gold); /* Gold for titles */
  text-align: left;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
  text-align: left;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-privacy-policy a {
  color: var(--glow); /* Glow for links */
  text-decoration: underline;
}

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

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

.page-privacy-policy__list li {
  margin-bottom: 8px;
}

.page-privacy-policy__card {
  background-color: var(--card-bg); /* Custom card background */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color); /* Custom border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary); /* Text color for cards */
}

.page-privacy-policy__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main); /* Main text color for card titles */
}

.page-privacy-policy__info-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  filter: none; /* Ensure no filters are applied */
}

.page-privacy-policy__last-updated {
  font-style: italic;
  margin-top: 30px;
  color: var(--text-secondary);
}

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-privacy-policy__contact-list li::before {
  content: "•"; /* Simple bullet point */
  color: var(--glow);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-privacy-policy__cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.page-privacy-policy__cta-section p {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-main);
}

/* --- Custom Colors & Contrast --- */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;

  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;

  /* RGB values for transparency adjustments if needed */
  --text-main-rgb: 242, 255, 246;
  --background-color-rgb: 8, 22, 15;
}

/* Since body background is dark (--background-color: #08160F), all text should be light */
/* This is handled by default text-main and text-secondary. */
/* Specific elements like titles use gold/glow for emphasis. */

/* Ensure text contrast on dark backgrounds */
.page-privacy-policy__dark-bg {
  background: var(--deep-green);
  color: var(--text-main);
}

.page-privacy-policy__card {
  background: var(--card-bg);
  color: var(--text-secondary);
}

.page-privacy-policy__card-title {
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  color: var(--gold);
}

.page-privacy-policy__sub-section-title {
  color: var(--text-main);
}

.page-privacy-policy p,
.page-privacy-policy li {
  color: var(--text-secondary);
}

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

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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
  }

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    align-items: center;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: unset; /* Remove min-width for full flexibility */
  }

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

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

  .page-privacy-policy__card {
    padding: 20px;
  }

  .page-privacy-policy__info-collection-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
    margin: 30px auto;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Removed as hero-content now handles it directly */
    /* padding-right: 15px; */
  }
  
  /* Remove specific padding for hero section to avoid double padding if container also has it */
  .page-privacy-policy__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-privacy-policy__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}