/* style/privacy-policy.css */

/* Variables and Base Styles for .page-privacy-policy */
.page-privacy-policy {
  /* Body background is #08160F (dark), so main text color should be light */
  color: var(--text-main, #F2FFF6); /* Default light text color */
  background-color: var(--background, #08160F); /* Dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Headings */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3,
.page-privacy-policy h4,
.page-privacy-policy h5,
.page-privacy-policy h6 {
  color: var(--text-main, #F2FFF6); /* Light text for headings */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E); /* Gold for main title */
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--gold, #F2C14E);
  text-align: center;
}

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

/* Paragraphs and Lists */
.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8); /* Secondary light text color */
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
}

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

/* Sections and Containers */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Only 10px top padding, body handles header offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main, #F2FFF6);
}

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

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

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

.page-privacy-policy__dark-bg {
  background-color: var(--card-bg, #11271B); /* Darker background for content sections */
  padding: 60px 20px;
  margin-top: 40px;
  border-radius: 10px;
}

/* Images within content */
.page-privacy-policy__image-content {
  text-align: center;
  margin: 30px 0;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto; /* Center image */
}

/* Contact Info */
.page-privacy-policy__contact-info {
  background-color: var(--deep-green, #0A4B2C);
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  color: var(--text-main, #F2FFF6);
  font-size: 1.05rem;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg, #11271B);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--divider, #1E3A2A);
  user-select: none; /* Prevent text selection */
  list-style: none; /* Remove default marker for <summary> */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> in Webkit */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

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

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px 15px; /* Adjust padding for mobile */
  }

  .page-privacy-policy__hero-content {
    padding: 15px;
  }

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

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

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

  .page-privacy-policy__intro-text,
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-item,
  .page-privacy-policy__faq-answer {
    font-size: 16px; /* Mobile font size increase */
    line-height: 1.6;
  }

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

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    padding: 10px;
  }

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

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

  .page-privacy-policy__sub-section-title {
    font-size: clamp(1.1rem, 6vw, 1.4rem);
  }

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

/* Contrast fix classes, if needed */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}