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

/* Global styles for the page-gdpr scope */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Default text color for dark background */
  background-color: var(--page-gdpr-background); /* Body background */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  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;
  min-height: 500px;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: var(--page-gdpr-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: clamp(1em, 1.5vw, 1.3em);
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--page-gdpr-background); /* Ensure consistency */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--page-gdpr-gold);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

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

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

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: var(--page-gdpr-gold);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  color: var(--page-gdpr-text-secondary);
}

.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-gold);
}

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

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

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

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  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-size: 1.2em;
  font-weight: bold;
  color: var(--page-gdpr-gold);
  background-color: var(--page-gdpr-deep-green);
  user-select: none;
}

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

.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 20px;
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__faq-item:not([open]) .page-gdpr__faq-answer {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.page-gdpr__cta-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-gdpr__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

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

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

  .page-gdpr__description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-area {
    padding: 20px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__card-text, .page-gdpr__contact-item, .page-gdpr__faq-answer p {
    font-size: 1em;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

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

  /* Mobile specific image, video, button adaptations */
  .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__contact-info,
  .page-gdpr__faq-list,
  .page-gdpr__cta-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 handles --header-offset */
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

/* Ensure color contrast for light-bg sections if applicable */
.page-gdpr__light-bg {
  color: var(--page-gdpr-text-main); /* Using main text color for light-bg as well, if background is dark */
  background-color: var(--page-gdpr-background);
}

.page-gdpr__dark-bg {
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-background);
}

/* Ensure image filter is not used to change color */
.page-gdpr img {
  filter: none; /* Reset any potential filter if inherited */
}

/* Hero image darkening is allowed for text readability */
.page-gdpr__hero-image {
  filter: brightness(0.5);
}