/* style/gdpr.css */

/* General Styling for page-gdpr */
.page-gdpr {
  background-color: var(--background, #08160F); /* Main background color */
  color: var(--text-main, #F2FFF6); /* Main text color */
  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;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-gdpr__main-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2em, 5vw, 3em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Call to Action Button */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__cta-button--secondary {
  background: var(--card-bg, #11271B);
  border: 2px solid var(--border, #2E7A4E);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--deep-green, #0A4B2C);
  border-color: var(--main-color, #11A84E);
}

.page-gdpr__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-gdpr__section-title {
  color: var(--main-color, #11A84E);
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-gdpr__sub-section-title {
  color: var(--text-main, #F2FFF6);
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Grid Layout for Principles */
.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__card-title {
  color: var(--main-color, #11A84E);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__card-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* List Styling */
.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

.page-gdpr__list-item::before {
  content: '✔'; /* Checkmark icon */
  color: var(--gold, #F2C14E);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

/* Full Width Image */
.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Max width for content images */
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

/* Contact Info */
.page-gdpr__contact-info {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__contact-item {
  color: var(--text-main, #F2FFF6);
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-item strong {
  color: var(--main-color, #11A84E);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  color: var(--text-main, #F2FFF6);
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate + to become X or - */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  line-height: 1.7;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-gdpr__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-gdpr__subtitle {
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-section-title {
    font-size: 1.4em;
  }

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__cta-button,
  .page-gdpr__cta-button--secondary {
    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__cta-button--small {
    padding: 10px 15px;
  }

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__list-item {
    padding-left: 25px;
  }

  .page-gdpr__list-item::before {
    left: 0;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

  /* Video and image wrapper for responsive overflow */
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

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

/* Color Contrast Enforcement */
/* body background is #08160F (dark), so text should be light */
.page-gdpr {
  color: var(--text-main, #F2FFF6); /* Main text color */
}

.page-gdpr__text-block,
.page-gdpr__card-text,
.page-gdpr__list-item {
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__card {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__hero-content {
  color: var(--text-main, #F2FFF6);
}

/* Ensure button text is readable */
.page-gdpr__cta-button {
  color: var(--text-main, #F2FFF6); /* White-ish text on green gradient */
}

.page-gdpr__cta-button--secondary {
  color: var(--text-main, #F2FFF6); /* White-ish text on dark green */
}

/* Title colors */
.page-gdpr__main-title,
.page-gdpr__section-title {
  color: var(--main-color, #11A84E); /* Main green color */
}

.page-gdpr__sub-section-title {
  color: var(--text-main, #F2FFF6);
}

/* FAQ question text */
.page-gdpr__faq-question {
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__faq-toggle {
  color: var(--gold, #F2C14E);
}