/* style/privacy-policy.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dodger Blue */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #000;
  --background-light: #f8f9fa;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark (#000), so use light text */
  background-color: var(--background-dark); /* Inherited from shared.css body */
}

/* 🚨 Fixed header padding - applied to the first main content section */
.page-privacy-policy__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a07d00 100%); /* Gold gradient */
  color: var(--text-color-dark);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-dark);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-color-dark);
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color); /* Dodger Blue */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* 🚨 Button responsive */
  box-sizing: border-box; /* 🚨 Button responsive */
  white-space: normal; /* 🚨 Button responsive */
  word-wrap: break-word; /* 🚨 Button responsive */
}

.page-privacy-policy__cta-button:hover {
  background: #187bcd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button--secondary {
  background: var(--background-dark);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-privacy-policy__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--background-dark);
  border-color: var(--primary-color);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-color-dark);
}

.page-privacy-policy__content-section.page-privacy-policy__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-privacy-policy__content-section p,
.page-privacy-policy__content-section li {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

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

.page-privacy-policy__content-section ul li {
  margin-bottom: 8px;
}

.page-privacy-policy__content-section strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--primary-color);
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: var(--card-background-dark);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: var(--text-color-light);
  transform: rotate(45deg); /* Optional: Animate to X */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: var(--text-color-light);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

.page-privacy-policy__cta-buttons--faq {
  margin-top: 50px;
}

/* 🚨 Responsive Design for Mobile */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 100px !important; /* Mobile fixed header padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* 🚨 Button responsive */
    box-sizing: border-box !important; /* 🚨 Button responsive */
    white-space: normal !important; /* 🚨 Button responsive */
    word-wrap: break-word !important; /* 🚨 Button responsive */
  }

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

  .page-privacy-policy__container {
    padding: 0 15px;
  }

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

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

  .page-privacy-policy__content-section p,
  .page-privacy-policy__content-section li {
    font-size: 0.95em;
  }

  /* FAQ Mobile */
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

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

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

  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }
}

/* 🚨 Global image responsive styles (no small icons) */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}