/* style/privacy-policy.css */

/* Base Styles for the Privacy Policy Page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

.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;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(var(--header-offset, 120px) + 80px); /* Ensure space for fixed header */
  background-color: #007bff; /* Primary brand color for hero background */
  color: #ffffff;
  overflow: hidden; /* For image positioning */
  min-height: 500px;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-privacy-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for title emphasis */
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

/* Content Area */
.page-privacy-policy__content-area {
  background-color: #000000; /* Match body background */
  color: #ffffff; /* White text for dark background */
  padding: 60px 0;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #ffc107; /* Auxiliary color for main section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

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

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

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

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

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

.page-privacy-policy__link {
  color: #007bff; /* Primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #ffc107; /* Auxiliary color on hover */
  text-decoration: underline;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(0, 123, 255, 0.1); /* Slightly transparent primary color */
  border: 1px solid #007bff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #007bff; /* Primary color for question background */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #0056b3; /* Darker primary on hover */
}

.page-privacy-policy__faq-title {
  font-size: 1.3em;
  margin: 0;
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #ffc107; /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(0, 123, 255, 0.05); /* Lighter transparent primary */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-privacy-policy__faq-answer .page-privacy-policy__paragraph {
  margin-bottom: 0; /* Remove extra margin for paragraphs inside answer */
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
  background-color: #000000; /* Dark background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-privacy-policy__cta-title {
  font-size: 2.5em;
  color: #ffc107; /* Auxiliary color for CTA title */
  margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.page-privacy-policy__btn-large {
  min-width: 200px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* Images responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure full image is visible, not cropped */
  }
  
  /* All image containers (section, div, card etc.) must set max-width: 100% */
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to prevent content touching edges */
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsiveness */
  .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;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Button containers for multiple buttons */
  .page-privacy-policy__cta-content {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px; /* Space between stacked buttons */
  }
}