/* style/gdpr.css */

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

.page-gdpr {
  background-color: var(--gdpr-background); /* Dark background */
  color: var(--gdpr-text-main); /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.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; /* Ensure content doesn't overflow */
}

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

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

.page-gdpr__hero-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.page-gdpr__main-title {
  color: var(--gdpr-gold-color); /* Gold color for title */
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

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

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

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-gdpr__btn-secondary {
  background: none;
  color: var(--gdpr-primary-color); /* Primary color text on transparent button */
  border: 2px solid var(--gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-2px);
}

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

.page-gdpr__dark-section {
  background-color: var(--gdpr-deep-green);
}

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

.page-gdpr__section-title {
  color: var(--gdpr-gold-color);
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__paragraph {
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  object-fit: cover;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 400px;
  shape-outside: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="1" height="1"/></svg>'); /* Placeholder for text wrapping */
  shape-margin: 10px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 400px;
  shape-outside: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="1" height="1"/></svg>'); /* Placeholder for text wrapping */
  shape-margin: 10px;
}

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

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

.page-gdpr__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--gdpr-card-bg);
  border-radius: 8px;
  border: 1px solid var(--gdpr-border-color);
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: var(--gdpr-text-secondary);
}

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

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

.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

.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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--gdpr-text-main);
  font-weight: 600;
  font-size: 1.1em;
  background-color: var(--gdpr-deep-green);
  border-bottom: 1px solid var(--gdpr-border-color);
  user-select: none;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or similar */
}

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  color: var(--gdpr-text-secondary);
  font-size: 0.95em;
  border-top: 1px solid var(--gdpr-divider-color);
}

.page-gdpr__faq-answer .page-gdpr__paragraph:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin: 30px auto;
    max-width: 600px;
    shape-outside: none;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-gdpr__lead-text {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    padding: 0 15px;
  }

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

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

  .page-gdpr__image,
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    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, small top padding for hero */
  }

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

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

  /* Text wrapping for floated images on mobile */
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    shape-outside: none;
  }
}

/* Ensure contrast for text on card/deep green backgrounds */
.page-gdpr__card-bg {
  background-color: var(--gdpr-card-bg);
  color: var(--gdpr-text-main);
}

.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item {
  color: var(--gdpr-text-main);
}

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