/* style/privacy-policy.css */

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

.page-privacy-policy {
  background-color: var(--page-privacy-policy-bg);
  color: var(--page-privacy-policy-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom padding */
  overflow: hidden;
  color: var(--page-privacy-policy-text-main);
  background-color: var(--page-privacy-policy-dark-bg); /* Ensure dark background for hero */
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 15px;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 15px;
  max-width: 100%;
  word-wrap: break-word;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: var(--page-privacy-policy-btn-gradient);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--page-privacy-policy-bg);
  color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--page-privacy-policy-gold);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
  border-bottom: 2px solid var(--page-privacy-policy-divider);
  padding-bottom: 10px;
}

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

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

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

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

.page-privacy-policy__text-link:hover {
  color: var(--page-privacy-policy-gold);
}

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

.page-privacy-policy__contact-info {
  margin-top: 25px;
  padding: 20px;
  background-color: var(--page-privacy-policy-card-bg);
  border-radius: 8px;
  border: 1px solid var(--page-privacy-policy-border);
}

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

.page-privacy-policy__contact-item strong {
  color: var(--page-privacy-policy-gold);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--page-privacy-policy-card-bg);
  border: 1px solid var(--page-privacy-policy-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__faq-question:hover {
  background-color: color-mix(in srgb, var(--page-privacy-policy-deep-green) 80%, black);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: color-mix(in srgb, var(--page-privacy-policy-deep-green) 70%, black);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--page-privacy-policy-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 500px; /* Arbitrary large value to allow content to expand */
  padding-top: 15px;
}

/* Details element specific styling */
.page-privacy-policy__faq-item summary {
  list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-privacy-policy__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-privacy-policy__content-area {
    padding: 40px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile responsive image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__container,
  .page-privacy-policy__contact-info,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure content containers have padding */
  .page-privacy-policy__content-area .page-privacy-policy__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-privacy-policy__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}