/* 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; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css, which is #000000 */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  background-color: #000000; /* Ensure hero section has a background for text visibility */
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Subtle overlay to ensure text readability on image */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login/CTA color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #d16b06;
}

/* Content Area */
.page-privacy-policy__content-area {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for content */
  color: #ffffff; /* Light text */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
}

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

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

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

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

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.page-privacy-policy a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #1e87b7;
}

/* Video Section */
.page-privacy-policy__video-wrapper {
  width: 100%;
  max-width: 800px; /* Max width for video */
  margin: 40px auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__video-description {
  text-align: center;
  font-style: italic;
  margin-top: 10px;
  color: #cccccc;
}

/* FAQ Section */
.page-privacy-policy__faq-container {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  transition: color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  color: #26A9E0;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Plus to Minus */
  content: "−"; /* Visually change to minus */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px; /* Initial padding 0 */
  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; /* Padding when active */
}

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-privacy-policy__hero-content {
    padding: 15px;
  }

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

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

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

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

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

  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__video-wrapper,
  .page-privacy-policy__faq-container,
  .page-privacy-policy__contact-list,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Video responsive */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure content area does not cause horizontal scroll */
  .page-privacy-policy {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .page-privacy-policy__faq-answer {
    padding: 0 10px; /* Adjust padding for smaller screens */
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px;
  }
}

/* Color contrast enforcement based on body background #000000 (dark) */
.page-privacy-policy {
  color: #ffffff; /* Default text color for the page */
}

/* Card/Section backgrounds that are not full dark */
.page-privacy-policy__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__dark-bg {
  background-color: #0d0d0d; /* A dark background, but not pure black */
  color: #ffffff; /* Light text */
}

.page-privacy-policy__light-bg {
  background-color: #ffffff; /* Example if a light section is needed */
  color: #333333; /* Dark text for light background */
}

/* Ensure no image filters */
.page-privacy-policy img {
  filter: none !important;
}

/* Content area image size enforcement */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}