/* style/privacy-policy.css */

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

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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 2;
  color: var(--j33-text-main);
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--j33-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--j33-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  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: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--j33-primary-color);
  border: 2px solid var(--j33-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--j33-primary-color);
  color: var(--j33-text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-privacy-policy__dark-section {
  background-color: var(--j33-card-background);
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--j33-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--j33-primary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-privacy-policy p strong {
  color: var(--j33-text-main);
}

.page-privacy-policy a {
  color: var(--j33-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* FAQ Section Styling (if using details/summary) */
.page-privacy-policy__faq-item {
  background-color: var(--j33-card-background);
  border: 1px solid var(--j33-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  display: block;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--j33-text-main);
  background-color: var(--j33-deep-green-color);
  position: relative;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

.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;
  width: 100%;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--j33-gold-color);
}

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

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--j33-text-secondary);
  border-top: 1px solid var(--j33-divider-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content {
    position: static;
    transform: none;
    padding: 30px 15px;
    max-width: 100%;
    margin-top: -100px; /* Pull content up over the bottom of the image */
    background: linear-gradient(0deg, var(--j33-background-dark) 0%, rgba(8, 22, 15, 0.7) 70%, rgba(8, 22, 15, 0) 100%);
  }

  .page-privacy-policy__hero-image {
    height: 400px;
  }

  .page-privacy-policy__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-section {
    padding: 40px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 0.95rem;
  }

  .page-privacy-policy__image {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8rem;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6rem;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }
}

/* Ensure all images are responsive and do not overflow */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}