/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for potentially dark body background */
  background-color: var(--background-color, #1a1a1a); /* Assuming a dark background for the site */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
}

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

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

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand primary color for titles */
}

.page-privacy-policy__dark-bg .page-privacy-policy__section-title {
  color: #FFFF00; /* Light text for titles on dark background */
}

.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-privacy-policy__dark-bg {
  background-color: #017439; /* Brand primary color as background */
  color: #ffffff; /* Light text on dark background */
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: inherit;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: inherit;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: inherit;
}

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

.page-privacy-policy__contact-info {
  text-align: center;
  margin-top: 30px;
}

.page-privacy-policy__contact-link {
  color: #FFFF00; /* Highlighted link color */
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #e02020; /* Hover color for links */
}

/* Responsive Design */
@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, 7vw, 2.5em);
  }

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

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  .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__contact-info {
    padding: 0 15px;
  }

  /* Ensure all containers with images/buttons are responsive */
  .page-privacy-policy__content-section,
  .page-privacy-policy__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no filter is used on images */
.page-privacy-policy__image, .page-privacy-policy__hero-image {
  filter: none; /* Override any potential filter from shared or other sources */
}

/* Re-apply hero image darkening via brightness filter for text readability */
.page-privacy-policy__hero-image {
  filter: brightness(0.5);
}