/* style/gdpr.css */

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

.page-gdpr {
  background-color: var(--gdpr-bg-color);
  color: var(--gdpr-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-gdpr__hero-content-wrapper {
  width: 100%;
  text-align: center;
  padding: 40px 0;
  background-color: var(--gdpr-bg-color); /* Ensure text is on a consistent background */
  margin-top: -50px; /* Slightly overlap with image for visual flow */
  position: relative;
  z-index: 1; /* Ensure content is above any lower elements */
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: var(--gdpr-text-secondary);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: var(--gdpr-btn-gradient);
  color: var(--gdpr-text-main);
  border: none;
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--gdpr-glow-color);
  border: 2px solid var(--gdpr-glow-color);
}

.page-gdpr__btn-secondary:hover {
  background: var(--gdpr-glow-color);
  color: var(--gdpr-deep-green);
  transform: translateY(-2px);
}

.page-gdpr__content-area {
  padding: 60px 0;
  background-color: var(--gdpr-bg-color);
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gdpr-text-main);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--gdpr-glow-color);
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gdpr-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1rem;
  color: var(--gdpr-text-secondary);
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: var(--gdpr-text-main);
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: var(--gdpr-glow-color);
  margin-right: 10px;
  font-weight: bold;
  flex-shrink: 0;
}

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

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--gdpr-text-main);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: var(--gdpr-deep-green);
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: var(--gdpr-glow-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--gdpr-text-secondary);
  font-size: 1rem;
}

.page-gdpr__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: var(--gdpr-glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content-wrapper {
    margin-top: -30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-gdpr__hero-image {
    max-height: 400px;
  }

  .page-gdpr__hero-content-wrapper {
    padding: 30px 0;
    margin-top: -20px;
  }

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

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-area {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-item summary,
  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__image-inline {
    margin: 20px auto;
  }

  .page-gdpr__list-item {
    padding: 12px 15px;
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }

  .page-gdpr__faq-qtext {
    flex-grow: 1;
    padding-right: 10px;
  }

  /* Ensure all containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content-wrapper,
  .page-gdpr__cta-buttons,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.7rem;
  }

  .page-gdpr__section-title {
    font-size: 1.5rem;
  }
}