/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --page-bg: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --primary-color: #11A84E; /* Main brand color */
  --secondary-color: #22C768; /* Auxiliary brand color */
}

.page-privacy-policy {
  background-color: var(--page-bg);
  color: var(--text-main); /* Main text color for the page content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Fixed header spacing - body padding-top is handled by shared.css */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
  background: var(--deep-green); /* Example background for hero section */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px; /* Space between image and text */
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  color: var(--gold-color); /* Use gold for main title for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary); /* Secondary text color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: var(--page-bg); /* Ensure content area has page background */
  color: var(--text-main); /* Ensure text color is main for readability */
}

.page-privacy-policy__section-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-color);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  text-align: left;
}

.page-privacy-policy__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-main);
}

.page-privacy-policy__list-item a,
.page-privacy-policy__paragraph a {
  color: var(--secondary-color); /* Link color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__list-item a:hover,
.page-privacy-policy__paragraph a:hover {
  color: var(--gold-color);
}

.page-privacy-policy__image {
  width: 100%;
  max-width: 800px; /* Default max-width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--card-bg); /* Darker background for FAQ section */
  padding: 60px 20px;
  box-sizing: border-box;
  color: var(--text-main);
}

.page-privacy-policy__section-title--faq {
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__faq-item {
  background-color: var(--page-bg); /* Use page background for individual FAQ items */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green); /* Slightly different background for summary */
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom-color: var(--border-color);
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(var(--deep-green), 0.8); /* Darken on hover */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

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

/* Remove default details arrow */
.page-privacy-policy__faq-item > summary {
  list-style: none;
}
.page-privacy-policy__faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--page-bg); /* Answer background */
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.page-privacy-policy__faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Ensure contrast for all text elements */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3,
.page-privacy-policy h4,
.page-privacy-policy h5,
.page-privacy-policy h6 {
  color: var(--gold-color); /* Ensure titles have strong contrast */
}

.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy__faq-qtext {
  color: var(--text-main); /* Ensure body text has strong contrast */
}

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

/* Responsive design */
@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; /* Small top padding for mobile */
  }

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

  .page-privacy-policy__intro-text {
    font-size: 1rem;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 20px 15px;
  }

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

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-qtext,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ensure content containers are responsive */
  .page-privacy-policy__section-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* For any potential buttons (though none on this page directly) */
  .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;
    padding-right: 15px;
  }
  .page-privacy-policy__cta-buttons { /* If multiple buttons in a row */
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}