/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --b52-code-primary: #11A84E;
  --b52-code-secondary: #22C768;
  --b52-code-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --b52-code-card-bg: #11271B;
  --b52-code-bg: #08160F;
  --b52-code-text-main: #F2FFF6;
  --b52-code-text-secondary: #A7D9B8;
  --b52-code-border: #2E7A4E;
  --b52-code-glow: #57E38D;
  --b52-code-gold: #F2C14E;
  --b52-code-divider: #1E3A2A;
  --b52-code-deep-green: #0A4B2C;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--b52-code-text-main); /* Default text color for the page */
  background-color: var(--b52-code-bg); /* Page background from custom colors */
}

.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 */
  text-align: center;
  overflow: hidden;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--b52-code-text-main);
  padding: 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--b52-code-text-main);
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto;
  color: var(--b52-code-text-secondary);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--b52-code-bg);
  color: var(--b52-code-text-main);
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--b52-code-primary);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  color: var(--b52-code-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--b52-code-text-secondary);
}

.page-privacy-policy__highlight {
  color: var(--b52-code-text-main);
  font-weight: bold;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--b52-code-text-secondary);
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__contact-info {
  margin-bottom: 10px;
  color: var(--b52-code-text-secondary);
}

.page-privacy-policy__contact-link {
  color: var(--b52-code-secondary);
  text-decoration: none;
}

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

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--b52-code-card-bg);
  border: 1px solid var(--b52-code-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--b52-code-text-main);
  background-color: var(--b52-code-deep-green);
  border-bottom: 1px solid var(--b52-code-divider);
  list-style: none;
}

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

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--b52-code-gold);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px;
  background-color: var(--b52-code-card-bg);
  color: var(--b52-code-text-secondary);
  border-top: 1px solid var(--b52-code-divider);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: var(--b52-code-text-secondary);
}

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

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

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-info {
    font-size: 0.95rem;
  }

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

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__image-block,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .page-privacy-policy__faq-qtext {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.2rem;
  }
}

/* Ensure content area images are not too small on desktop */
.page-privacy-policy__content-image {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes */
.page-privacy-policy__dark-bg {
  color: #ffffff;
  background: var(--b52-code-deep-green);
}

.page-privacy-policy__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-privacy-policy__medium-bg {
  color: #000000;
  background: var(--b52-code-secondary);
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}