/* style/gdpr.css */

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

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

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--page-gdpr-deep-green);
  overflow: hidden;
}

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

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: var(--page-gdpr-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--page-gdpr-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: var(--page-gdpr-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-gdpr__link {
  color: var(--page-gdpr-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--page-gdpr-glow-color);
  text-decoration: underline;
}

.page-gdpr__highlight {
  color: var(--page-gdpr-glow-color);
  font-weight: bold;
}

.page-gdpr__image-with-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-with-text--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-with-text .page-gdpr__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__image-with-text .page-gdpr__text-content {
  flex: 1;
  max-width: 50%;
}

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

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

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

.page-gdpr__contact-details {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__image--contact {
  max-width: 40%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  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: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-deep-green);
  border-bottom: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--page-gdpr-border-color);
}

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

.page-gdpr__faq-question::marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-gdpr-gold-color);
  transition: transform 0.3s ease;
}

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

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

/* Ensure contrast for all text elements */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--page-gdpr-gold-color);
}

.page-gdpr p, .page-gdpr li {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__btn-primary {
  color: var(--page-gdpr-text-main); /* Ensure button text is light on dark gradient */
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .page-gdpr__image-with-text,
  .page-gdpr__image-with-text--reverse {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__image-with-text .page-gdpr__image,
  .page-gdpr__image-with-text .page-gdpr__text-content {
    max-width: 100%;
    flex: none;
  }

  .page-gdpr__image-with-text .page-gdpr__image {
    margin-bottom: 20px;
  }

  .page-gdpr__contact-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-gdpr__image--contact {
    max-width: 60%;
    margin-bottom: 20px;
  }

  .page-gdpr__list {
    margin-left: 0;
    text-align: left; /* Keep list items left aligned even if parent is centered */
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

  /* Image containers responsiveness */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-with-text .page-gdpr__image,
  .page-gdpr__image--contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr a[class*="button"],
  .page-gdpr 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-gdpr__hero-content .page-gdpr__btn-primary {
    margin: 0 auto;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}