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

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

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 80px 0; /* Small top padding, larger bottom for content below */
  overflow: hidden;
  background-color: var(--card-bg); /* #11271B */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

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

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-privacy-policy__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  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(--glow); /* #57E38D */
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Text Blocks and Lists */
.page-privacy-policy__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-privacy-policy__link {
  color: var(--glow); /* #57E38D */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--gold); /* #F2C14E */
}

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

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--card-bg); /* #11271B */
  padding: 60px 0;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--deep-green); /* #0A4B2C */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--deep-green); /* #0A4B2C */
  user-select: none;
  list-style: none; /* For details summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow); /* #57E38D */
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05rem;
  color: var(--text-secondary); /* #A7D9B8 */
  line-height: 1.7;
  /* For non-details implementation, add transition for max-height */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-privacy-policy__intro-text {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-privacy-policy__sub-title {
    font-size: clamp(1.3rem, 2.8vw, 2rem);
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-privacy-policy__section {
    padding: 40px 0;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__contact-us {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image-wrapper {
    padding: 0;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary {
    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;
    text-align: center;
  }

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

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 0.9rem;
  }
  .page-privacy-policy__faq-question {
    padding: 12px 15px;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 15px 12px 15px;
  }
}