/* style/privacy-policy.css */

/* BEM Naming: .page-privacy-policy__element-name */
/* Body background is dark from shared.css, so text colors should be light */

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

.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;
  background: var(--background-color); /* Use deep green background from palette */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  color: var(--text-main);
}

.page-privacy-policy__main-title {
  font-weight: bold;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* No fixed font-size, rely on clamp for responsiveness if needed, otherwise default browser scaling */
}

.page-privacy-policy__intro-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main); /* Using Text Main for button text */
  border: none;
}

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

.page-privacy-policy__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main); /* Using Text Main for button text */
  border: 2px solid var(--border-color);
}

.page-privacy-policy__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: var(--background-color); /* Ensure consistent background for content */
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--gold);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--glow);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-privacy-policy__list li {
  margin-bottom: 0.8em;
  color: var(--text-secondary);
}

.page-privacy-policy__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  background: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-privacy-policy__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-privacy-policy__content-image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__text-content {
  flex: 1;
}

.page-privacy-policy__contact-info {
  margin-top: 25px;
  font-size: 1.1em;
  color: var(--text-main);
}

.page-privacy-policy__contact-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
}

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

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    max-width: 700px;
  }

  .page-privacy-policy__section-title {
    font-size: 2em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@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; /* body already handles --header-offset */
  }

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for H1 */
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }

  .page-privacy-policy__image-text-block {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__image-text-block--reversed {
    flex-direction: column;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size */
    min-height: 200px !important; /* Ensure min size */
  }

  .page-privacy-policy__content-image--center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__text-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure all img elements within .page-privacy-policy are responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images are constrained */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* If there are multiple buttons horizontally, allow wrapping */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.1em;
  }
}