/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image then text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure hero section has a dark background */
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure text is not absolutely positioned over image */
  z-index: 2;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
  color: #26A9E0; /* Brand primary color for title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

.page-privacy-policy__content-area {
  background-color: #0a0a0a; /* Dark background for content area */
  padding: 40px 20px;
  color: #ffffff; /* Light text for content */
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy p {
  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 li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-privacy-policy__image {
  width: 100%;
  max-width: 800px; /* Example max-width, ensure minimum 200px */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  border: 2px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #1e87b3;
}

.page-privacy-policy__btn-contact {
  display: inline-block;
  background: #EA7C07;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  border: 2px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.page-privacy-policy__btn-contact:hover {
  background-color: #cc6a00;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-privacy-policy__faq-item details {
  border: none;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  color: #26A9E0; /* Brand color for question */
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-question::marker {
  display: none;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #ffffff; /* Ensure question text is white */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle icon */
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

/* Keyword highlight */
.page-privacy-policy .highlight-keyword {
  color: #26A9E0;
  font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-privacy-policy__main-title {
    font-size: 2rem !important;
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem !important;
  }

  .page-privacy-policy__content-area {
    padding: 20px 15px;
  }

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li,
  .page-privacy-policy__faq-answer {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

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

  /* Buttons responsiveness */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy__btn-contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    margin-left: 0;
    margin-right: 0;
  }
  
  .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
    margin-top: 20px;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1rem !important;
  }

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