/* 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 to Text Main color */
  background-color: var(--background-color, #08160F); /* Default to Background color */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main-color, #F2FFF6);
  letter-spacing: 0.05em;
}

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

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

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

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2);
  transform: translateY(-3px);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-color, #08160F);
  color: var(--text-secondary-color, #A7D9B8);
}

.page-privacy-policy__dark-section {
  background-color: var(--card-bg-color, #11271B);
  padding: 60px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--divider-color, #1E3A2A);
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-privacy-policy__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-privacy-policy__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--main-color, #11A84E); /* Use main color for bullet */
  font-weight: bold;
}

.page-privacy-policy__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--deep-green-color, #0A4B2C);
  border-radius: 10px;
  margin-top: 50px;
}

.page-privacy-policy__cta-title {
  font-size: clamp(1.5em, 3vw, 2.2em);
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 30px auto 0 auto;
  text-align: left;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main-color, #F2FFF6);
  background-color: var(--card-bg-color, #11271B);
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
  list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on entire summary, not just text */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-secondary-color, #A7D9B8);
  line-height: 1.6;
}

.page-privacy-policy__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Ensure links within content are visible */
.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a,
.page-privacy-policy__faq-answer a {
  color: var(--glow-color, #57E38D); /* Use a distinct color for links */
  text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover,
.page-privacy-policy__faq-answer a:hover {
  color: var(--main-color, #11A84E);
}

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

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

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95em;
  }

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

  .page-privacy-policy__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  
  /* Ensure all content containers are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__dark-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness for all img tags */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness (if any, though none present in HTML for this page) */
  .page-privacy-policy video,
  .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;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }
}