/* style/privacy-policy.css */

/* Variables from custom 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: #2E7A4E;
  --page-privacy-policy-glow: #57E38D;
  --page-privacy-policy-gold: #F2C14E;
  --page-privacy-policy-divider: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
}

.page-privacy-policy {
  color: var(--page-privacy-policy-text-main);
  background-color: var(--page-privacy-policy-background); /* This will be overridden by shared.css body --bg-color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

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

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
}

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

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

.page-privacy-policy__section-title {
  font-size: 2.5rem;
  color: var(--page-privacy-policy-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-privacy-policy__paragraph {
  font-size: 1rem;
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 15px;
  text-align: justify;
}

.page-privacy-policy__paragraph a {
  color: var(--page-privacy-policy-secondary-color);
  text-decoration: underline;
}

.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 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__list-item strong {
  color: var(--page-privacy-policy-gold);
}

.page-privacy-policy__list-item a {
  color: var(--page-privacy-policy-secondary-color);
  text-decoration: underline;
}

.page-privacy-policy__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);
}

/* Buttons */
.page-privacy-policy__btn-primary {
  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: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--page-privacy-policy-gold);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid var(--page-privacy-policy-gold);
  cursor: pointer;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--page-privacy-policy-gold);
  color: var(--page-privacy-policy-card-bg);
}

/* Specific sections styling */
.page-privacy-policy__introduction {
  background-color: var(--page-privacy-policy-card-bg);
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}
.page-privacy-policy__introduction .page-privacy-policy__paragraph {
  color: var(--page-privacy-policy-text-main);
}
.page-privacy-policy__introduction .page-privacy-policy__section-title {
  color: var(--page-privacy-policy-gold);
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

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

.page-privacy-policy__contact-us .page-privacy-policy__btn-secondary {
  margin-top: 30px;
}

.page-privacy-policy__last-updated {
  text-align: right;
  font-style: italic;
  color: var(--page-privacy-policy-text-secondary);
  font-size: 0.9rem;
  margin-top: 40px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--page-privacy-policy-card-bg);
  border-bottom: 1px solid var(--page-privacy-policy-divider);
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-privacy-policy-gold);
  cursor: pointer;
  outline: none;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--page-privacy-policy-gold);
}

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

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

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

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

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

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles header offset */
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section {
    padding: 40px 0;
  }

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

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

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

  /* Images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers */
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__introduction,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Button groups if any */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* FAQ Mobile adjustments */
  .page-privacy-policy__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
  }
}