/* style/privacy-policy.css */
/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for page if body is dark */
  background-color: transparent; /* Body will handle background */
}

/* Hero Section - First visible content area */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero section */
  color: #ffffff;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken 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(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

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

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Main Content Area - Light background for readability */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* White background for long text content */
  color: #333333; /* Dark text for readability on white background */
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 600;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy__subsection-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px; /* Enforce min size on desktop */
  min-height: 200px; /* Enforce min size on desktop */
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  object-fit: cover;
}

/* CTA Section */
.page-privacy-policy__cta-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
  max-width: 1200px;
  margin: 40px auto;
  box-sizing: border-box;
}

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

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't push width */
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-privacy-policy__btn-primary {
  background: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-privacy-policy__btn-primary:hover {
  background: #d46f06;
  border-color: #d46f06;
}

.page-privacy-policy__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0; /* Brand primary color for secondary CTA */
  border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
  background: #f0f0f0;
  color: #208cb3;
  border-color: #208cb3;
}

/* Link styles */
.page-privacy-policy a {
  color: #26A9E0; /* Brand primary color for links in content */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #208cb3;
}

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

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
}

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

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

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

  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section {
    padding: 30px 15px;
    margin: 15px auto;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__subsection-title {
    font-size: clamp(1.2em, 4vw, 1.5em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers with images/content */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add padding to button text */
    padding-right: 15px;
  }
  
  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content area images maintain min size if possible, but prioritize max-width 100% */
  .page-privacy-policy__content-image {
    min-width: unset; /* Allow to shrink below 200px on mobile if needed by max-width: 100% */
    min-height: unset;
    width: 100% !important;
    height: auto !important;
  }
}

/* Ensure content area images are at least 200px wide/tall on desktop */
@media (min-width: 769px) {
  .page-privacy-policy__content-image {
    min-width: 200px;
    min-height: 200px;
  }
}