/* style/privacy-policy.css */

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

.page-privacy-policy {
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--page-bg); /* Use the specified page background */
  font-family: Arial, sans-serif;
}

.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; /* Small top padding, larger bottom for content separation */
  text-align: center;
}

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

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 20px;
  margin-top: 30px;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  color: var(--gold-color); /* Emphasize title with gold */
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for responsive H1 font size */
}

.page-privacy-policy__description {
  font-size: 1.125rem; /* 18px */
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg); /* Use card background for content sections */
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__content-area:first-of-type {
  margin-top: 30px; /* Space after hero */
}

.page-privacy-policy__section-title {
  font-size: 2.25rem; /* 36px */
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: 1.5rem; /* 24px */
  color: var(--text-main);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--gold-color);
  padding-left: 15px;
}

.page-privacy-policy__text-block p {
  font-size: 1rem; /* 16px */
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-privacy-policy__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__link-contact {
  color: var(--gold-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-privacy-policy__link-contact:hover {
  color: var(--glow-color);
}

.page-privacy-policy__faq-section {
  background-color: var(--card-bg);
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  list-style: none;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.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: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
  }

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

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

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-top: 20px;
  }

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

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

  .page-privacy-policy__section-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block p {
    font-size: 0.9375rem; /* 15px */
  }

  .page-privacy-policy__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

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

  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Ensure all content containers are responsive */
  .page-privacy-policy__section-intro,
  .page-privacy-policy__section-data-collection,
  .page-privacy-policy__section-data-usage,
  .page-privacy-policy__section-data-sharing,
  .page-privacy-policy__section-data-security,
  .page-privacy-policy__section-user-rights,
  .page-privacy-policy__section-cookie-policy,
  .page-privacy-policy__section-third-party-links,
  .page-privacy-policy__section-changes,
  .page-privacy-policy__section-contact,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.125rem;
  }

  .page-privacy-policy__faq-question {
    font-size: 0.9375rem;
  }
}