/* style/privacy-policy.css */

/* Variables from custom color palette */
: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 {
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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; /* body already handles header offset, small top padding here */
  overflow: hidden;
  background-color: var(--page-privacy-policy-deep-green);
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: var(--page-privacy-policy-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  opacity: 0.9;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__dark-section {
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--page-privacy-policy-glow-color);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
  border-bottom: 2px solid var(--page-privacy-policy-divider-color);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__link-text {
  color: var(--page-privacy-policy-glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link-text:hover {
  color: var(--page-privacy-policy-gold-color);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  max-width: 800px;
}

.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: var(--page-privacy-policy-deep-green);
  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: 1px solid var(--page-privacy-policy-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-privacy-policy-text-main);
  cursor: pointer;
  background-color: var(--page-privacy-policy-card-bg);
  border-bottom: 1px solid var(--page-privacy-policy-border-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-question:hover {
  background-color: var(--page-privacy-policy-deep-green);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--page-privacy-policy-glow-color);
  font-weight: bold;
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-privacy-policy-text-secondary);
  line-height: 1.6;
}

/* Ensure details element does not use max-height for open state */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom: 1px solid var(--page-privacy-policy-border-color);
}

/* Contact Button specific styling */
.page-privacy-policy__contact-button {
  margin-top: 20px;
}

/* --- Responsive Design --- */

/* Desktop specific adjustments */
@media (min-width: 1201px) {
  .page-privacy-policy__hero-content {
    max-width: 1000px;
  }
}

/* Tablet and smaller desktops */
@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, 2vw, 1.2rem);
  }
  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4rem;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 1rem;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-privacy-policy__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for mobile */
    margin: 20px 15px;
    box-sizing: border-box;
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }

  .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;
    font-size: 1rem;
  }

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

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

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto;
    box-sizing: border-box !important;
  }

  /* Ensure all image containers are responsive */
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

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

/* Ensure content images are at least 200x200px */
.page-privacy-policy img {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes - Ensure all text elements have high contrast */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3,
.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy a {
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__section-title {
  color: var(--page-privacy-policy-glow-color); /* Specific title color */
}

.page-privacy-policy__sub-title {
  color: var(--page-privacy-policy-text-secondary); /* Specific sub-title color */
}

.page-privacy-policy__cta-button {
  background: var(--page-privacy-policy-button-gradient);
  color: #ffffff;
}

/* Ensure hero content text is always readable */
.page-privacy-policy__hero-content .page-privacy-policy__main-title,
.page-privacy-policy__hero-content .page-privacy-policy__intro-text {
  color: var(--page-privacy-policy-text-main);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Specific link text color for contrast */
.page-privacy-policy__link-text {
  color: var(--page-privacy-policy-glow-color);
}

.page-privacy-policy__link-text:hover {
  color: var(--page-privacy-policy-gold-color);
}

/* FAQ toggle color for contrast */
.page-privacy-policy__faq-toggle {
  color: var(--page-privacy-policy-glow-color);
}