/* style/privacy-policy.css */
/*
  Color Scheme:
  Primary: #F2C14E (Black Gold)
  Accent: #FFD36B (Black Gold)
  Button Gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%)
  Card Background: #111111
  Background: #0A0A0A
  Text Main: #FFF6D6
  Border: #3A2A12
  Glow: #FFD36B
*/

.page-privacy-policy {
  background-color: var(--background-color, #0A0A0A); /* Inherit from shared or use custom */
  color: var(--text-main-color, #FFF6D6); /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space before footer */
}

/* Fixed Header Spacing */
.page-privacy-policy__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop default, adjusted by shared.css media query */
  padding-bottom: 60px;
  background-color: var(--background-color, #0A0A0A);
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: static;
  z-index: auto;
}

.page-privacy-policy__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Clamp for responsive H1 */
  color: var(--primary-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4); /* Subtle glow */
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: var(--text-main-color, #FFF6D6);
  max-width: 700px;
  margin: 0 auto;
}

.page-privacy-policy__hero-image-wrapper {
  text-align: center;
  margin-top: 20px;
  position: static;
  z-index: auto;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__section {
  padding: 40px 0;
  background-color: var(--background-color, #0A0A0A);
  border-bottom: 1px solid var(--border-color, #3A2A12);
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 2.5rem;
  color: var(--primary-color, #F2C14E);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: 1.8rem;
  color: var(--accent-color, #FFD36B);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-privacy-policy__text-block a {
  color: var(--primary-color, #F2C14E);
  text-decoration: underline;
}

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

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

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

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  background-color: var(--card-bg-color, #111111);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__faq-main-title {
  font-size: 2rem;
  color: var(--primary-color, #F2C14E);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-privacy-policy__faq-item {
  border-bottom: 1px solid var(--border-color, #3A2A12);
  margin-bottom: 10px;
}

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main-color, #FFF6D6);
  transition: color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  color: var(--primary-color, #F2C14E);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color, #FFD36B);
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Changes + to x */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color, #FFF6D6);
}

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

.page-privacy-policy__faq-answer p {
  margin-bottom: 10px;
}

/* Buttons */
.page-privacy-policy__link-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  margin-right: 15px; /* Spacing between buttons if multiple */
}

.page-privacy-policy__link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 100px) !important;
    padding-bottom: 40px;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1rem;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  /* Mobile container padding */
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__link-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
    padding: 12px 15px;
    margin-right: 0; /* Remove right margin for full width */
    margin-bottom: 10px; /* Add bottom margin for stacked buttons */
  }
  
  /* If multiple buttons are in a flex container, ensure they wrap */
  .page-privacy-policy__text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* FAQ specific mobile adjustments */
  .page-privacy-policy__faq-question {
    font-size: 1rem;
    padding: 12px 0;
  }

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

  .page-privacy-policy__faq-answer {
    padding: 0 10px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px;
  }
}