/* style/privacy-policy.css */

/* --- Base Styles & Variables --- */
:root {
  --page-privacy-policy__primary-color: #11A84E;
  --page-privacy-policy__secondary-color: #22C768;
  --page-privacy-policy__background-color: #08160F; /* Custom background */
  --page-privacy-policy__card-bg: #11271B; /* Custom card background */
  --page-privacy-policy__text-main: #F2FFF6; /* Custom main text color */
  --page-privacy-policy__text-secondary: #A7D9B8; /* Custom secondary text color */
  --page-privacy-policy__border-color: #2E7A4E; /* Custom border color */
  --page-privacy-policy__glow-color: #57E38D;
  --page-privacy-policy__gold-color: #F2C14E;
  --page-privacy-policy__divider-color: #1E3A2A;
  --page-privacy-policy__deep-green-color: #0A4B2C;

  /* Button gradient */
  --page-privacy-policy__btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
  background-color: var(--page-privacy-policy__background-color);
  color: var(--page-privacy-policy__text-main); /* Ensure light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

/* --- Layout & Sections --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-privacy-policy__deep-green-color); /* A darker shade for hero background */
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1200px; /* Match container max-width */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  color: var(--page-privacy-policy__text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* H1 font-size rule: No fixed large font-size, use weight, height, spacing, color */
  max-width: 100%; /* Ensure it doesn't overflow */
}

.page-privacy-policy__description {
  color: var(--page-privacy-policy__text-secondary);
  font-size: 1.125rem;
  margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for responsive buttons */
  max-width: 500px; /* Limit button group width */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Include padding in width calculation */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
  background: var(--page-privacy-policy__btn-gradient);
  color: var(--page-privacy-policy__text-main); /* Light text on dark/gradient button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--page-privacy-policy__primary-color); /* Primary color text for secondary button */
  border: 2px solid var(--page-privacy-policy__primary-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--page-privacy-policy__primary-color);
  color: var(--page-privacy-policy__text-main);
  transform: translateY(-2px);
}

.page-privacy-policy__content-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--page-privacy-policy__divider-color);
}

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

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

.page-privacy-policy__section-title {
  color: var(--page-privacy-policy__gold-color); /* Gold color for main section titles */
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  color: var(--page-privacy-policy__primary-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  color: var(--page-privacy-policy__text-secondary);
  margin-bottom: 20px;
}

.page-privacy-policy__content-image {
  width: 100%;
  max-width: 800px; /* Recommended content image size */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

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

.page-privacy-policy__list-item strong {
  color: var(--page-privacy-policy__text-main);
}

.page-privacy-policy__inline-link {
  color: var(--page-privacy-policy__secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__inline-link:hover {
  color: var(--page-privacy-policy__glow-color);
}

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

.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); /* Darker green background for cards */
  border: 1px solid var(--page-privacy-policy__border-color);
  border-radius: 8px;
  overflow: hidden;
  color: var(--page-privacy-policy__text-main); /* Light text on dark card */
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.125rem;
  color: var(--page-privacy-policy__text-main);
  background-color: var(--page-privacy-policy__deep-green-color); /* Slightly different background for summary */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
  background-color: var(--page-privacy-policy__primary-color);
}

.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;
  color: var(--page-privacy-policy__text-main);
}

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

.page-privacy-policy__faq-answer {
  padding: 20px;
  border-top: 1px solid var(--page-privacy-policy__border-color);
  color: var(--page-privacy-policy__text-secondary);
}

/* Ensure all content img elements are at least 200x200px on desktop too */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image {
    max-width: 100%;
  }

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

  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
}

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-privacy-policy__main-title {
    font-size: 1.8rem; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-privacy-policy__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-privacy-policy__content-image {
    min-width: 200px;
    min-height: 200px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ specific mobile styles */
  .page-privacy-policy__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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