/* 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); /* Default text color from custom scheme */
  background-color: var(--bg-color); /* From custom scheme */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  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: var(--deep-green); /* Using a dark green from custom scheme */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

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

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--bg-color); /* From custom scheme */
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--gold); /* Using gold for main titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

.page-privacy-policy h3 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.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);
}

.page-privacy-policy__contact-item a {
  color: var(--glow);
  text-decoration: none;
}

.page-privacy-policy__contact-item a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: var(--card-bg); /* Dark background from custom scheme */
  color: var(--glow);
  border: 1px solid var(--glow);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--glow);
  color: var(--card-bg);
  transform: translateY(-2px);
}

/* Call to Action Block */
.page-privacy-policy__cta-block {
  background-color: var(--card-bg); /* Dark background from custom scheme */
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-privacy-policy__cta-title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

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

.page-privacy-policy__cta-block .page-privacy-policy__btn-primary,
.page-privacy-policy__cta-block .page-privacy-policy__btn-secondary {
  margin: 10px;
}

/* Image styles */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
  }

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

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content {
    position: static;
    transform: none;
    padding: 0;
    margin-top: 20px;
  }

  .page-privacy-policy__hero-image {
    filter: brightness(1); /* Remove darkening on mobile if text is below */
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

  .page-privacy-policy h3 {
    font-size: 1.3rem;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-block {
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-title {
    font-size: 1.5rem;
  }

  /* Responsive image rules */
  .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__cta-block,
  .page-privacy-policy__hero-section {
    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 */
  }

  /* Specific override for hero content positioning on mobile */
  .page-privacy-policy__hero-section {
    flex-direction: column; /* Stack image and content vertically */
  }

  .page-privacy-policy__hero-content {
    position: relative; /* Reset position for normal flow */
    transform: none; /* Reset transform */
    left: auto;
    top: auto;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  .page-privacy-policy__hero-image-wrapper {
    order: 1; /* Image first */
  }

  .page-privacy-policy__hero-content {
    order: 2; /* Content after image */
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.3rem;
  }
}