/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though shared.css might handle body */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Upper image, lower text */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #017439; /* Primary brand color */
  color: #ffffff; /* White text for dark background */
  padding-top: 10px; /* Small top padding, body handles header-offset */
  padding-bottom: 40px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above the image if any layering occurs, but not overlapping */
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: 20px; /* Space between image and text */
}

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

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

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #017439; /* Use brand color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

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

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

.page-privacy-policy__link {
  color: #017439; /* Brand color for links */
  text-decoration: underline;
}
.page-privacy-policy__link:hover {
  color: #005f2b; /* Slightly darker brand color on hover */
}

/* Image with Text Block */
.page-privacy-policy__image-text-block {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.page-privacy-policy__image-text-block--reverse {
  flex-direction: row-reverse; /* Image on right, text on left */
}

.page-privacy-policy__content-image {
  flex: 1;
  min-width: 300px; /* Minimum width for image */
  max-width: 600px; /* Max width for content images */
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  /* No filter properties to change color */
}

.page-privacy-policy__text-content {
  flex: 2;
  min-width: 300px; /* Minimum width for text */
}

/* Contact Block */
.page-privacy-policy__contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
}

/* CTA Section */
.page-privacy-policy__cta-section {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

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

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

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-privacy-policy__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand color for text */
  border: 2px solid #017439;
}

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

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

  .page-privacy-policy__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-image {
    max-height: 300px;
  }

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

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

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

  .page-privacy-policy__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__image-text-block {
    flex-direction: column; /* Stack image and text vertically */
    gap: 20px;
  }
  .page-privacy-policy__image-text-block--reverse {
    flex-direction: column; /* Also stack vertically */
  }

  .page-privacy-policy__content-image {
    min-width: unset;
    max-width: 100% !important; /* Ensure images are responsive */
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-privacy-policy__cta-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

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

  /* Mobile image and container responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__contact-block,
  .page-privacy-policy__image-text-block,
  .page-privacy-policy__text-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Ensure hero content also has padding */
  .page-privacy-policy__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* No video on this page, but if there was, this would apply */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}