/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text color for light body background */
  background-color: #f8f8f8; /* Light background for the main content area */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-privacy-policy__hero-section {
  background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

.page-privacy-policy__main-heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main heading */
  line-height: 1.2;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-privacy-policy__hero-image-wrapper {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* White background for content */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__sub-heading {
  font-size: 2em;
  color: #1A1A1A;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-privacy-policy__section-heading {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #333333;
}

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

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

.page-privacy-policy a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styles */
.page-privacy-policy__faq-container {
  margin-top: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-privacy-policy__faq-item {
  border-bottom: 1px solid #eee;
}

.page-privacy-policy__faq-item:last-child {
  border-bottom: none;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #f5f5f5;
}

.page-privacy-policy__faq-title {
  font-size: 1.2em;
  color: #1A1A1A;
  margin: 0;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
  color: #1A1A1A;
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

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

  .page-privacy-policy__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 15px;
    gap: 20px;
  }

  .page-privacy-policy__hero-content {
    max-width: 100%;
    text-align: center;
  }

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

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

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

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

  .page-privacy-policy__section-heading {
    font-size: 1.3em;
  }

  /* Images responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }

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

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

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