/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Inherit from body, which is #121212 */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Ensure the first content section has enough padding to clear the fixed header */
.page-privacy-policy__hero-banner {
  padding-top: 120px; /* Adjust as needed for desktop fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #000080, #1a1a40); /* Dark blue gradient */
  text-align: center;
}

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

.page-privacy-policy__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-subtitle {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__hero-subtitle a {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
}

.page-privacy-policy__hero-subtitle a:hover {
  color: #ffffff;
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-privacy-policy__heading {
  font-size: 2.2em;
  font-weight: 600;
  color: #FFD700; /* Gold for section headings */
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6em;
  font-weight: 500;
  color: #f0f0f0; /* Light grey for subheadings */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-privacy-policy__paragraph a {
  color: #FFD700;
  text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover {
  color: #ffffff;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__list-item strong {
  color: #FFD700;
}

.page-privacy-policy__list-item a {
  color: #FFD700;
  text-decoration: underline;
}

.page-privacy-policy__list-item a:hover {
  color: #ffffff;
}

.page-privacy-policy__highlight-text {
  color: #FFD700;
  font-weight: bold;
}

.page-privacy-policy__link {
  color: #FFD700;
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #ffffff;
}

/* Image styles */
.page-privacy-policy__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-privacy-policy__image-caption {
  font-size: 0.9em;
  color: #cccccc;
  margin-top: 15px;
  padding: 0 15px;
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.1); /* Lighter background for question */
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for FAQ questions */
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-privacy-policy__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect, or just change text */
  color: #ffffff;
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.2); /* Darker background for answer */
  border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
}

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

.page-privacy-policy__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-privacy-policy__faq-answer a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.8em;
  }

  .page-privacy-policy__hero-subtitle {
    font-size: 1.2em;
  }

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

  .page-privacy-policy__sub-heading {
    font-size: 1.4em;
  }

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

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-banner {
    padding-top: 100px; /* Adjust for mobile fixed header height */
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-privacy-policy__heading {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95em;
  }

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

  .page-privacy-policy__image-wrapper {
    margin: 30px auto;
  }

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

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

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

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

  /* Mobile image specific styles */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}