/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main color for dark background */
  background-color: #0A0A0A; /* Background color */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop padding for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

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

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Main color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-privacy-policy__list-item strong {
  color: #FFD36B; /* Auxiliary color for strong text */
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-privacy-policy a {
  color: #F2C14E; /* Main color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #FFD36B; /* Auxiliary color on hover */
}

/* FAQ Section */
.page-privacy-policy__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG color */
  color: #F2C14E; /* Main color for question text */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #1a1a1a;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #F2C14E;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for toggle */
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #111111; /* Card BG color */
  color: #FFF6D6;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding for fixed header */
    height: auto;
  }

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

  .page-privacy-policy__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    margin-top: -150px; /* Pull content up slightly over the image */
    background: rgba(10, 10, 10, 0.7); /* Dark overlay for text readability */
    width: 100%;
    box-sizing: border-box;
  }

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

  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 20px;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .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;
  }

  .page-privacy-policy__faq-question {
    padding: 15px;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1.1em;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px;
  }
}