/* style/privacy-policy.css */

/* Custom Properties */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

/* Base styles for the privacy policy page content */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Light text on dark body background */
  background-color: var(--background-color); /* Matches body background from shared.css */
  padding-bottom: 40px;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
}

.page-privacy-policy__intro-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-privacy-policy__section-block {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  text-shadow: 0 0 5px rgba(255, 165, 58, 0.3);
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--text-main-color);
  opacity: 0.9;
}

.page-privacy-policy__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-main-color);
  opacity: 0.9;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.page-privacy-policy__contact-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 140, 26, 0.1);
  color: var(--text-main-color);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.2);
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  background-color: rgba(255, 140, 26, 0.25);
  border-bottom: 1px solid var(--primary-color);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--text-main-color);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  padding: 15px 20px;
  color: var(--text-main-color);
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid transparent; /* To prevent double border */
}

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

/* Details element specific styling */
.page-privacy-policy__faq-item summary {
  list-style: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

  .page-privacy-policy__section-block {
    padding: 20px;
    margin-bottom: 20px;
  }

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

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

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Image responsive adaptation */
  .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__image-content,
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__section-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by specific sections if needed */
  }

  /* Button responsive adaptation (if any functional buttons were present) */
  .page-privacy-policy__cta-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;
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}