/* style/privacy-policy.css */

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

.page-privacy-policy {
  background-color: var(--background-color-page); /* Apply custom background */
  color: var(--text-main); /* Main text color for light on dark */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  text-align: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__main-title {
  color: var(--gold-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__hero-description {
  color: var(--text-secondary);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-privacy-policy__section {
  margin-bottom: 40px;
}

.page-privacy-policy__heading-2 {
  color: var(--primary-color);
  font-size: 2.2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

.page-privacy-policy__heading-3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
  color: var(--gold-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover {
  color: var(--glow-color);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

/* FAQ styles (if used) */
.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  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;
  background-color: var(--deep-green);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1em;
  border-bottom: 1px solid var(--border-color);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 15px 25px;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 1000px; /* Arbitrarily large value for smooth transition */
  padding-top: 15px;
  padding-bottom: 15px;
}

/* details tag specific styles */
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  list-style: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
  }

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

  .page-privacy-policy__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 25px 15px;
  }

  .page-privacy-policy__heading-2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__heading-3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Mobile image 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    overflow-x: hidden;
  }

  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.5em;
  }

  .page-privacy-policy__heading-2 {
    font-size: 1.6em;
  }

  .page-privacy-policy__heading-3 {
    font-size: 1.2em;
  }
}