/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-bg-color: #08160F;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  background-color: var(--page-gdpr-bg-color);
  color: var(--page-gdpr-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--page-gdpr-text-main);
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-gdpr h1 {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr h2 {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr h3 {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-gdpr-primary-color);
}

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

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

.page-gdpr a:hover {
  text-decoration: underline;
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-gdpr__btn-secondary:hover {
  background: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-main);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-gdpr__content-section {
  padding: 50px 0;
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-card-bg);
}

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

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px; /* Recommended size for content images */
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

.page-gdpr__list-item strong {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-section {
  padding: 50px 0;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--page-gdpr-primary-color);
  background-color: var(--page-gdpr-card-bg);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1a3026;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 15px;
  color: var(--page-gdpr-text-secondary);
  font-size: 0.95em;
}

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

/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary {
  list-style: none;
}

.page-gdpr__contact-section {
  padding: 50px 0;
  text-align: center;
}

.page-gdpr__contact-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 30px 0;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 20px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 4vw, 1.5em);
  }

  .page-gdpr__hero-cta-buttons,
  .page-gdpr__contact-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 300px !important; /* Constrain max width for buttons */
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-cta-buttons,
  .page-gdpr__contact-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for decoration */
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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