/* 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 (#0a0a0a) */
}

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

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

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

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

.page-privacy-policy__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for main title */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.page-privacy-policy__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* Content Area */
.page-privacy-policy__content-area {
  padding: 60px 0;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 15px;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: #f0f0f0;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

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

.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover {
  color: #e6c200;
}

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

.page-privacy-policy__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #cccccc;
}

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

/* Darker background sections */
.page-privacy-policy__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__paragraph,
.page-privacy-policy__dark-section .page-privacy-policy__list-item {
  color: #cccccc;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #1A202C;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #2D3748;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #2D3748;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
  margin: 0;
  color: #FFD700;
}

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

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

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
  font-size: 1.05em;
  background-color: #202733;
}

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

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

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
  }

  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }

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

  .page-privacy-policy__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

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

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

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

  /* Images responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containing elements for images/videos/buttons */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-privacy-policy__hero-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    flex-direction: column !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
  }

  .page-privacy-policy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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