/* style/privacy-policy.css */

/* Custom Variables based on provided color palette */
:root {
  --page-privacy-policy-bg: #08160F; /* Background */
  --page-privacy-policy-card-bg: #11271B; /* Card BG */
  --page-privacy-policy-text-main: #F2FFF6; /* Text Main */
  --page-privacy-policy-text-secondary: #A7D9B8; /* Text Secondary */
  --page-privacy-policy-border: #2E7A4E; /* Border */
  --page-privacy-policy-glow: #57E38D; /* Glow */
  --page-privacy-policy-gold: #F2C14E; /* Gold */
  --page-privacy-policy-divider: #1E3A2A; /* Divider */
  --page-privacy-policy-deep-green: #0A4B2C; /* Deep Green */
  --page-privacy-policy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  --page-privacy-policy-primary-color: #11A84E; /* Main color */
  --page-privacy-policy-secondary-color: #22C768; /* Auxiliary color */
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-privacy-policy {
  background-color: var(--page-privacy-policy-bg);
  color: var(--page-privacy-policy-text-main); /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1200px; /* Limit hero image width */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and content */
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px; /* Space below content */
}

.page-privacy-policy__main-title {
  font-weight: 700;
  color: var(--page-privacy-policy-glow);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(2em, 5vw, 3.5em); /* Min 2em, preferred 5vw, max 3.5em */
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
}

/* General Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-privacy-policy__section-intro {
  margin-bottom: 40px;
  text-align: center;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--page-privacy-policy-glow);
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
}

/* Card Styles */
.page-privacy-policy__card {
  background-color: var(--page-privacy-policy-card-bg);
  border: 1px solid var(--page-privacy-policy-border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-privacy-policy-text-main); /* Ensure text is light on dark card */
}

.page-privacy-policy__card p {
  margin-bottom: 15px;
  color: var(--page-privacy-policy-text-secondary);
}

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

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

.page-privacy-policy__list li strong {
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__card-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background: var(--page-privacy-policy-btn-gradient);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Contact Links */
.page-privacy-policy__contact-link {
  color: var(--page-privacy-policy-glow);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-privacy-policy__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-privacy-policy__faq-item {
  background-color: var(--page-privacy-policy-card-bg);
  border: 1px solid var(--page-privacy-policy-border);
  border-radius: 10px;
  padding: 20px;
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-privacy-policy-primary-color);
  padding-right: 10px; /* Space for toggle icon */
}

.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;
  line-height: 1;
  color: var(--page-privacy-policy-glow);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-privacy-policy__faq-answer {
  padding-top: 15px;
  border-top: 1px solid var(--page-privacy-policy-divider);
  margin-top: 15px;
  color: var(--page-privacy-policy-text-secondary);
}

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

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  background-color: var(--page-privacy-policy-card-bg);
  border: 1px solid var(--page-privacy-policy-border);
  border-radius: 10px;
  padding: 40px;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 30px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__card-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px;
  }
  .page-privacy-policy__hero-content {
    margin-bottom: 30px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area {
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__card-title {
    font-size: 1.4em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__faq-item summary {
    font-size: 1.1em;
  }
  .page-privacy-policy__cta-section {
    padding: 30px 20px;
  }
  .page-privacy-policy__cta-text {
    font-size: 1.1em;
  }

  /* Mobile image, video, button adaptations */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy video,
  .page-privacy-policy__video {
    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__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding for video section top, not using --header-offset */
  .page-privacy-policy__video-section {
    padding-top: 10px !important; 
  }

  /* Button specific mobile styles */
  .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; /* Add padding to button itself if needed */
    padding-right: 15px; /* Add padding to button itself if needed */
  }
  
  /* If multiple buttons are in a group, make them stack or wrap */
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px; /* Space between stacked buttons */
  }
}

/* No CSS filter for images */
.page-privacy-policy img {
  filter: none; /* Ensure no filter is applied */
}