/* style/privacy-policy.css */

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

.page-privacy-policy {
  background-color: var(--nani88-background);
  color: var(--nani88-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--nani88-divider);
}

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  background-color: var(--nani88-deep-green);
  overflow: hidden;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
}

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

.page-privacy-policy__hero-description {
  color: var(--nani88-text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 30px; /* Space between content and image */
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* General Typography */
.page-privacy-policy__section-title {
  color: var(--nani88-gold);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  color: var(--nani88-text-main);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  color: var(--nani88-text-secondary);
  margin-bottom: 15px;
}

.page-privacy-policy strong {
  color: var(--nani88-text-main);
}

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

.page-privacy-policy__list li {
  margin-bottom: 8px;
}

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

.page-privacy-policy a:hover {
  text-decoration: underline;
}

/* Images in Content */
.page-privacy-policy__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Buttons */
.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: var(--nani88-button-gradient);
  color: #ffffff;
}

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

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: var(--nani88-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nani88-text-main);
  cursor: pointer;
  background-color: var(--nani88-card-bg);
  border-bottom: 1px solid var(--nani88-border);
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  background-color: var(--nani88-deep-green);
  border-bottom-color: var(--nani88-secondary-color);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--nani88-secondary-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
  color: var(--nani88-gold);
}

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

.page-privacy-policy__faq-item summary {
  list-style: none;
}

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

/* Contact List */
.page-privacy-policy__contact-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  color: var(--nani88-text-secondary);
}

.page-privacy-policy__contact-list strong {
  color: var(--nani88-text-main);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__section {
    padding: 40px 15px;
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li,
  .page-privacy-policy__faq-answer {
    font-size: 15px;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image {
    margin-top: 20px;
  }

  /* Button responsive */
  .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;
  }

  .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;
  }

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

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

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