/* style/privacy-policy.css */

:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --button-text-color: #ffffff;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-privacy-policy {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop, will be auto on mobile */
  object-fit: cover;
  position: relative;
  z-index: 1;
  max-width: 1920px;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up slightly to overlap image, but not on text */
  background-color: var(--card-bg-color); /* Add background for readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

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

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

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__text-block {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.page-privacy-policy__sub-list {
  list-style: circle;
  margin-left: 20px;
  margin-top: 5px;
}

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

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__last-updated {
  text-align: center;
  font-style: italic;
  color: var(--text-secondary-color);
  margin-top: 40px;
  font-size: 0.9em;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-main-color);
}

.page-privacy-policy__contact-link {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-privacy-policy__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--button-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--card-bg-color);
  padding: 80px 0;
  border-radius: 10px;
  margin: 40px auto;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color);
  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: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.7;
}

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

/* Clear floats */
.page-privacy-policy__section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -100px;
  }
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-image {
    height: 450px;
  }
  .page-privacy-policy__hero-content {
    margin-top: -80px;
    padding: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__section {
    padding: 40px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__image {
    margin: 20px auto !important;
    float: none !important;
  }

  /* Buttons responsiveness */
  .page-privacy-policy__cta-button,
  .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__contact-list {
    padding: 0 15px;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-privacy-policy__faq-section {
    padding: 40px 0;
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-image {
    height: 300px;
  }
  .page-privacy-policy__hero-content {
    margin-top: -60px;
    padding: 10px;
  }
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.9em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-privacy-policy__faq-question {
    font-size: 1em;
  }
}