/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #FFF6D6; /* Text Main from custom palette for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically */
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, not header-offset */
  overflow: hidden; /* Ensure content doesn't spill */
  background-color: #0A0A0A; /* Background from custom palette */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  position: relative;
  order: 1; /* Image first */
  margin-bottom: 40px; /* Space below image */
}

.page-privacy-policy__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px; /* Minimum height for hero image */
}

.page-privacy-policy__hero-content {
  order: 2; /* Content second */
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw + 1rem, 3.5em); /* Responsive font size */
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow */
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border from custom palette */
  background-color: #0A0A0A; /* Default background for sections */
}

.page-privacy-policy__section--data-usage,
.page-privacy-policy__section--user-rights,
.page-privacy-policy__section--third-party-links,
.page-privacy-policy__section--changes {
  background-color: #111111; /* Card BG from custom palette */
}

.page-privacy-policy__heading {
  font-size: 2.5em;
  color: #F2C14E; /* Main color for headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-privacy-policy__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD36B; /* Glow color for accent */
  border-radius: 2px;
}

.page-privacy-policy__sub-heading {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph a {
  color: #FFD36B; /* Link color */
  text-decoration: underline;
}

.page-privacy-policy__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-privacy-policy__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__list-icon {
  margin-right: 10px;
  font-size: 1.2em;
  color: #F2C14E; /* Main color for icons */
  flex-shrink: 0;
}

.page-privacy-policy__image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border from custom palette */
}

.page-privacy-policy__cta-group {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Ensure button fits container */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color from custom palette */
  color: #111111; /* Dark text for light button background */
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8A820 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__btn-secondary {
  background: #111111; /* Card BG from custom palette */
  color: #F2C14E; /* Main color for text */
  border: 2px solid #F2C14E; /* Border with main color */
}

.page-privacy-policy__btn-secondary:hover {
  background: #F2C14E; /* Main color for background */
  color: #111111; /* Dark text for light button background */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-privacy-policy__faq-item {
  background-color: #111111; /* Card BG from custom palette */
  border: 1px solid #3A2A12; /* Border from custom palette */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2C14E; /* Main color for question */
  position: relative;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #FFD36B; /* Auxiliary color for toggle */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  line-height: 1.7;
  color: #FFF6D6; /* Text Main */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px !important;
  }

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw + 0.5rem, 2.8em);
    margin-bottom: 15px;
  }

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

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

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

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

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

  .page-privacy-policy__cta-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .page-privacy-policy__cta-button {
    width: 100% !important; /* Force full width on mobile */
    padding: 12px 20px;
    font-size: 1em;
  }

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

  /* All containers with images or content */
  .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;
  }
  
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body already has padding-top, this is for visual spacing */
  }

  /* Video responsiveness (if any, though not in this specific page yet) */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}