/* style/privacy-policy.css */

/* Base styles for the page content, ensuring dark text on light body background */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f4f4f4 */
  background-color: #f4f4f4; /* Match body background for consistency if main has its own bg */
}

/* Sections with custom dark background colors */
.page-privacy-policy__dark-bg {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text for dark background */
}

.page-privacy-policy__light-bg {
  background-color: #f4f4f4; /* Default light background */
  color: #333333; /* Dark text for light background */
}

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Use a dark background for the hero to make the image stand out */
  color: #F2FFF6;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  height: auto;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Main text color for dark background */
  letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color for dark background */
}

/* General Titles */
.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #11A84E; /* Primary brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #11A84E;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Text styles */
.page-privacy-policy__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-privacy-policy__text-main {
  color: #F2FFF6; /* Main text color for dark backgrounds */
}

.page-privacy-policy__text-secondary {
  color: #A7D9B8; /* Secondary text color for dark backgrounds */
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Image and Text Wrapper (for sections with image next to text) */
.page-privacy-policy__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-privacy-policy__content-wrapper--reversed {
  flex-direction: row-reverse; /* Image on right, text on left */
}

.page-privacy-policy__text-content,
.page-privacy-policy__image-wrapper {
  flex: 1;
  min-width: 300px; /* Allow wrapping on smaller screens */
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: #F2FFF6; /* White text for button */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  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 8px 15px rgba(0,0,0,0.2);
}

/* Links within text */
.page-privacy-policy__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #F2C14E; /* Gold color on hover */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-privacy-policy__faq-item summary { /* For details tag */
  list-style: none;
  cursor: pointer;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2FFF6;
  background-color: #11271B;
  border-bottom: 1px solid transparent; /* No border initially */
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom-color: #2E7A4E; /* Border when open */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color for toggle */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text for answers */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-privacy-policy__section {
    padding: 40px 0;
  }

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

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .page-privacy-policy__content-wrapper {
    flex-direction: column;
  }

  .page-privacy-policy__content-wrapper--reversed {
    flex-direction: column; /* Reset order for mobile */
  }

  .page-privacy-policy__text-content,
  .page-privacy-policy__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__section {
    padding: 30px 0;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is for visual spacing */
    padding-bottom: 30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer {
    font-size: 0.9rem;
  }

  .page-privacy-policy__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__container,
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__content-wrapper,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__text-content,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-privacy-policy__cta-buttons { /* If there were multiple buttons */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}