/* style/privacy-policy.css */

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

/* Base styles for the page content */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--bg-color);
  padding-bottom: 40px; /* Space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  text-align: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-top: -80px; /* Pull content slightly over the image for visual flow */
  position: relative; /* Ensure text is above image if z-index is used elsewhere */
  z-index: 1; /* Ensure content is above image */
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 15px;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: var(--gold-color);
}

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

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-privacy-policy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-privacy-policy__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__card-image {
  width: 100%;
  max-width: 400px; /* Limit card image size */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-privacy-policy__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-secondary);
}

.page-privacy-policy__list--bullet li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-privacy-policy__list--check li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-privacy-policy__list--arrow li::before {
  content: '▶';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8em;
  line-height: 1.6;
}

.page-privacy-policy__sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 10px;
}

.page-privacy-policy__sub-list li {
  margin-bottom: 5px;
  color: var(--text-secondary);
}

.page-privacy-policy__image--full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

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

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--gold-color);
  font-size: 1.1em;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--primary-color);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  background-color: #1a3528; /* Slightly lighter than card-bg for contrast */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -50px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-privacy-policy__hero-image {
    margin-bottom: 20px;
  }
  .page-privacy-policy__hero-content {
    margin-top: -30px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__content-area {
    margin: 30px auto;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-privacy-policy__card {
    padding: 20px;
  }
  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 0.95em;
  }

  /* Image responsive rules */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-privacy-policy__image--full-width,
  .page-privacy-policy__image--content,
  .page-privacy-policy__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Video responsive rules (if any, though none currently in HTML) */
  .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;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* body already has padding-top from shared.css */
  }
}

/* Ensure contrast for text */
.page-privacy-policy {
  color: var(--text-main); /* Deep background, light text */
}

.page-privacy-policy__card {
  background: var(--card-bg);
  color: var(--text-secondary);
}

.page-privacy-policy__faq-answer {
  background-color: #1a3528; /* Slightly lighter than card-bg for contrast */
  color: var(--text-secondary);
}

.page-privacy-policy p, .page-privacy-policy li {
    color: var(--text-secondary);
}

.page-privacy-policy__section-title {
    color: var(--primary-color);
}
.page-privacy-policy__main-title {
    color: var(--gold-color);
}

/* Ensure content images are not too small */
.page-privacy-policy__content-area img,
.page-privacy-policy__card-image {
    min-width: 200px;
    min-height: 200px;
}