/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default light text for dark background */
  background-color: var(--bg, #08160F); /* Ensure consistency with body background */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--bg, #08160F);
  text-align: center;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Adjust as needed for layout */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main, #F2FFF6);
}

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

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

/* Sections */
.page-gdpr__section {
  padding: 60px 20px;
  background-color: var(--bg, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__dark-bg {
  background-color: var(--card-bg, #11271B); /* Use a darker variant for contrast */
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold, #F2C14E); /* Use gold for section titles */
}

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

.page-gdpr__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Lists */
.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

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

/* Links within text */
.page-gdpr a {
  color: var(--main-color, #11A84E);
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: var(--glow, #57E38D);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #ffffff;
  border: none;
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--main-color, #11A84E); /* Use main color for text */
  border: 2px solid var(--border-color, #2E7A4E); /* Custom border color */
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--card-bg, #11271B); /* Darker background for FAQ */
  color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__faq-item {
  background-color: var(--deep-green, #0A4B2C); /* Even darker for item background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main, #F2FFF6);
  background-color: var(--deep-green, #0A4B2C);
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

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

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}

/* Content area image size lower limit */
.page-gdpr__content-area img,
.page-gdpr__text-block img,
.page-gdpr__image-content {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles header offset */
  }

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

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

  .page-gdpr__section {
    padding: 30px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images/content */
  .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;
  }

  /* Buttons responsive */
  .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;
    margin-bottom: 10px; /* Stack buttons */
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }

  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Video (if any) responsive */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}