/* style/privacy-policy.css */

/* Root variables for colors */
:root {
  --page-privacy-policy-primary-color: #11A84E;
  --page-privacy-policy-secondary-color: #22C768;
  --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-background: #08160F;
  --page-privacy-policy-text-main: #F2FFF6;
  --page-privacy-policy-text-secondary: #A7D9B8;
  --page-privacy-policy-border-color: #2E7A4E;
  --page-privacy-policy-glow-color: #57E38D;
  --page-privacy-policy-gold-color: #F2C14E;
  --page-privacy-policy-divider-color: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
  --page-privacy-policy-dark-text: #333333; /* For light backgrounds */
  --page-privacy-policy-light-text: #ffffff; /* For dark backgrounds */
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-privacy-policy-dark-text); /* Default text color for light body background */
  background-color: #ffffff; /* Assuming body background is white */
}

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  position: relative;
  overflow: hidden;
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
}

.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;
  filter: brightness(0.7); /* Slightly darken image for text readability, not color change */
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above image filter */
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the image slightly for better visual flow */
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-privacy-policy-text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--page-privacy-policy-text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-privacy-policy-button-gradient);
  color: var(--page-privacy-policy-light-text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  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);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Explicitly white for content area */
  color: var(--page-privacy-policy-dark-text);
}

.page-privacy-policy__section-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--page-privacy-policy-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1rem;
  color: var(--page-privacy-policy-dark-text);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--page-privacy-policy-dark-text);
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__contact-link {
  color: var(--page-privacy-policy-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--page-privacy-policy-secondary-color);
  text-decoration: underline;
}

.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--page-privacy-policy-text-main);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-main);
  background-color: var(--page-privacy-policy-deep-green);
  border-bottom: 1px solid var(--page-privacy-policy-divider-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid var(--page-privacy-policy-divider-color);
}

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

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

.page-privacy-policy__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-privacy-policy-text-secondary);
  background-color: var(--page-privacy-policy-card-bg);
}

.page-privacy-policy__faq-answer .page-privacy-policy__paragraph {
  color: var(--page-privacy-policy-text-secondary);
}

/* Hide default details marker */
.page-privacy-policy__faq-item > summary {
  list-style: none;
}
.page-privacy-policy__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px 15px; /* Adjust padding for mobile */
  }
  .page-privacy-policy__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 2rem;
  }
  .page-privacy-policy__subtitle {
    font-size: 1rem;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.6rem;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer .page-privacy-policy__paragraph {
    font-size: 0.95rem;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
    font-size: 1rem;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px;
  }

  /* Mobile specific image/video/button responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
  }

  .page-privacy-policy__cta-button {
    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;
  }
}