/* style/gdpr.css */

/* Custom Colors */
: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; /* body background */
  --page-gdpr-text-main: #F2FFF6; /* Light text for dark background */
  --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;
}

/* Base styles for the page content, assuming shared.css sets body background to --page-gdpr-background */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--page-gdpr-text-main); /* Light text for dark background */
  background-color: var(--page-gdpr-background); /* Ensure consistent background */
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom before footer */
}

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

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--page-gdpr-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--page-gdpr-secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--page-gdpr-background); /* Ensure hero has background */
  overflow: hidden; /* Prevent overflow issues */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.2em); /* Responsive H1 font size */
  color: var(--page-gdpr-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 1.3em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--page-gdpr-primary-color);
  border: 2px solid var(--page-gdpr-primary-color);
  margin-left: 20px; /* Space between buttons */
}

.page-gdpr__btn-secondary:hover {
  background: var(--page-gdpr-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Images within content */
.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.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);
  border-radius: 10px;
  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 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-primary-color);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

/* For JS-driven accordion (if not using <details>) */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Ensure it expands */
  padding-top: 15px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  background-color: var(--page-gdpr-primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__intro-description {
    font-size: 1.1em;
  }
}

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

  .page-gdpr__section {
    padding: 40px 0;
  }

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

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

  /* Hero Section Mobile */
  .page-gdpr__hero-section {
    padding: 30px 0;
    padding-top: 10px !important; /* body handles --header-offset, this is just visual */
  }

  .page-gdpr__hero-content {
    padding: 0 15px; /* Add horizontal padding to hero content */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for smaller screens */
    margin-bottom: 15px;
  }

  .page-gdpr__intro-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Buttons Mobile */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    margin-left: 0 !important; /* Remove margin for stacking */
    margin-bottom: 15px;
  }
  .page-gdpr__btn-primary:last-child,
  .page-gdpr__btn-secondary:last-child {
    margin-bottom: 0;
  }

  /* Ensure button containers also adapt */
  .page-gdpr__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Images Mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important;
    min-height: unset !important;
  }
  
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* FAQ Mobile */
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
}

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

/* Content area image size enforcement */
.page-gdpr__image-content {
  min-width: 200px;
  min-height: 200px;
}