/* 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);
  background-color: var(--background);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, main padding-top handled by body */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-privacy-policy__hero-content {
  position: relative; /* Changed from absolute to relative to be below image */
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  color: var(--text-main);
  background-color: rgba(17, 39, 27, 0.85); /* Card B G with transparency */
  border-radius: 8px;
  margin-top: -80px; /* Pull up over the image slightly for visual flow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__dark-bg {
  background-color: var(--card-b-g);
  color: var(--text-main);
}

.page-privacy-policy__light-bg {
  background-color: #11271B; /* Using a slightly lighter dark for contrast */
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--divider);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--glow);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-privacy-policy__text-block strong {
  color: var(--text-main);
}

.page-privacy-policy__link {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.page-privacy-policy__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  max-width: 800px; /* Recommended size for content images */
  min-width: 200px; /* Ensure minimum size */
}

/* Contact section specific styling */
.page-privacy-policy__contact-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--card-b-g);
  color: var(--text-main);
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }
  .page-privacy-policy__content-area {
    margin: 30px auto;
    padding: 30px 15px;
  }
  .page-privacy-policy__section-title {
    margin-bottom: 20px;
  }
}

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

  .page-privacy-policy__hero-content {
    padding: 20px 10px;
    margin-top: -40px;
  }

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

  .page-privacy-policy__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    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-area,
  .page-privacy-policy__contact-section {
    margin: 20px auto;
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__text-block {
    font-size: 0.95rem;
  }

  /* Image responsive adaptations */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow images to shrink on mobile */
    min-height: unset !important;
  }

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

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