/* style/privacy-policy.css */

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #F2FFF6; /* Ensure text is visible over dimmed image */
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-privacy-policy__description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Secondary text color */
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 40px 20px;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

.page-privacy-policy__content-section:last-of-type {
  border-bottom: none;
}

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

/* Background color variants for sections */
.page-privacy-policy__dark-bg {
  background-color: var(--card-bg-color, #11271B); /* Darker background for contrast */
  color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__light-bg {
  background-color: var(--background-color, #08160F); /* Slightly lighter than card BG, but still dark */
  color: var(--text-main-color, #F2FFF6);
}


/* Headings */
.page-privacy-policy__heading-2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--gold-color, #F2C14E); /* Gold for main headings */
  text-align: center;
}

.page-privacy-policy__heading-3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6); /* Main text color for subheadings */
}

/* Paragraphs */
.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-secondary-color, #A7D9B8); /* Secondary text color */
}

/* Lists */
.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary-color, #A7D9B8); /* Secondary text color */
}

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  color: var(--text-secondary-color, #A7D9B8); /* Secondary text color */
}

/* Links */
.page-privacy-policy__link {
  color: var(--main-color, #11A84E); /* Main brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--glow-color, #57E38D); /* Glow color on hover */
  text-decoration: none;
}

/* Images */
.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto; /* Center images */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
  object-fit: cover;
}

.page-privacy-policy__image--center {
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Block */
.page-privacy-policy__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--deep-green-color, #0A4B2C);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-main-color, #F2FFF6);
  font-weight: 500;
}

/* Primary Button */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  color: var(--text-secondary-color, #A7D9B8);
}

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

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

  .page-privacy-policy__hero-content {
    max-width: 90%;
    padding: 15px;
  }

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

  .page-privacy-policy__description {
    font-size: 1rem;
  }

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

  .page-privacy-policy__heading-2 {
    font-size: 1.8rem;
  }

  .page-privacy-policy__heading-3 {
    font-size: 1.4rem;
  }

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}