/* style/privacy-policy.css */

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

/* Page-specific styles */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the main content */
  background-color: var(--background-color-page); /* Fallback for main if body doesn't cover */
}

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

.page-privacy-policy__hero-section {
  padding: 80px 0;
  text-align: center;
  background: var(--background-color-page);
  color: var(--text-main);
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-privacy-policy__description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.page-privacy-policy__content-area {
  padding: 60px 0;
}

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

.page-privacy-policy__content-area.page-privacy-policy__light-bg {
  background-color: var(--background-color-page);
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gold-color);
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
}

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-privacy-policy__list-item strong {
  color: var(--text-main);
}

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-privacy-policy__cta-section {
  background: var(--deep-green);
  padding: 80px 0;
  text-align: center;
  color: var(--text-main);
}

.page-privacy-policy__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-privacy-policy__cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1rem;
  max-width: 700px;
  color: var(--text-secondary);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: var(--button-gradient);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* General image responsiveness for all images within the main content */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No filter properties to change color */
}

/* Content area images: minimum size */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill space without distortion */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 0;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

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

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

  .page-privacy-policy__content-area {
    padding: 40px 0;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.3rem, 4.5vw, 1.6rem);
  }

  .page-privacy-policy p,
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }

  .page-privacy-policy__cta-section {
    padding: 60px 0;
  }

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

  .page-privacy-policy__cta-description {
    font-size: 0.95rem;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure all content containers are responsive */
  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Image responsiveness for all images within the main content */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content area images CSS size lower limit check */
  .page-privacy-policy__content-area img {
    min-width: auto !important;
    min-height: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Videos are not expected, but include for safety */
  .page-privacy-policy video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* FAQ styles (if used, using details/summary for native support) */
.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.1rem;
  list-style: none;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-question {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  margin-left: 10px;
}

.page-privacy-policy__faq-answer {
  padding-top: 15px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid var(--divider-color);
  margin-top: 15px;
}

/* Contrast fixes for light-on-dark and dark-on-light sections */
.page-privacy-policy__dark-bg {
  color: var(--text-main); /* Light text on dark background */
}

.page-privacy-policy__light-bg {
  color: var(--text-main); /* Light text on light background, but light-bg uses background-color-page which is dark, so text-main is correct */
}

/* Ensure all link colors are readable */
.page-privacy-policy a {
  color: var(--gold-color); /* Use gold for links for better visibility */
}

.page-privacy-policy a:hover {
  color: var(--primary-color);
}

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