/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #ffffff; /* Light text for dark background */
  background-color: #1a1a1a; /* A slightly lighter dark background for the main content area */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  background-color: #0d0d0d; /* Even darker for hero */
  color: #ffffff;
  padding: 80px 20px;
  padding-top: 10px; /* As per fixed header rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-privacy-policy__main-title {
  color: #26A9E0; /* Brand color for main title */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 900px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  max-width: 800px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background-color: #d16b06;
}

/* Content Section */
.page-privacy-policy__content-section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 40px 20px;
  background-color: #2a2a2a; /* Slightly lighter dark background for content */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-section h2 {
  color: #26A9E0;
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
  padding-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__content-section h3 {
  color: #ffffff;
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__content-section p,
.page-privacy-policy__content-section li {
  color: #f0f0f0; /* Slightly off-white for body text */
  margin-bottom: 15px;
}

.page-privacy-policy__content-section ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 25px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-privacy-policy__text-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
  color: #4db8f5;
  text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 40px 20px;
  background-color: #2a2a2a;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-section h2 {
  color: #26A9E0;
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__faq-item {
  background-color: #3a3a3a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(38, 169, 224, 0.2);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  position: relative;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-question {
  flex-grow: 1;
  font-size: 1.1em;
  color: #26A9E0; /* Brand color for questions */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 25px 15px;
    margin: 20px auto;
  }

  .page-privacy-policy__content-section h2 {
    font-size: 1.8em;
  }

  .page-privacy-policy__content-section h3 {
    font-size: 1.3em;
  }

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

  .page-privacy-policy__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-privacy-policy__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    text-align: center;
  }

  .page-privacy-policy__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}