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

.page-gdpr {
  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the image a bit */
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent dark background */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
  top: 50%; /* Position relative to hero-section */
}

.page-gdpr__main-title {
  color: var(--text-main-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__subtitle {
  color: var(--text-secondary-color);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
}

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

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

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

.page-gdpr__section-title {
  color: var(--text-main-color);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 20px auto 0;
  border-radius: 2px;
}

.page-gdpr__sub-title {
  color: var(--text-main-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-block a:hover {
  color: var(--glow-color);
}

.page-gdpr__highlight {
  color: var(--gold-color);
  font-weight: 600;
}

.page-gdpr__list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary-color);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
}

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

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  min-width: 200px; /* Ensure min size */
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--card-bg-color);
}

.page-gdpr__faq-item {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main-color);
  font-weight: 600;
  font-size: 1.15rem;
  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 details */
}

.page-gdpr__faq-question:hover {
  background-color: var(--deep-green-color);
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -100px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2.2rem;
  }
}

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
  
  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 15px;
    transform: translateY(-30%);
    top: 30%;
  }

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

  .page-gdpr__subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

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

  .page-gdpr__sub-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-gdpr__list-item::before {
    font-size: 1em;
  }

  .page-gdpr__image-content {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    margin: 0;
  }

  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__introduction-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__cookies-section,
  .page-gdpr__breach-notification-section,
  .page-gdpr__contact-section,
  .page-gdpr__conclusion-section,
  .page-gdpr__faq-section,
  .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__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

/* Ensure all images adhere to min-width 200px rule */
.page-gdpr img {
  min-width: 200px;
  min-height: 200px; /* Applies to all images in content area */
}

/* Content area images CSS size lower bound (not less than 200px) */
.page-gdpr__content-area img,
.page-gdpr__principles-section img,
.page-gdpr__rights-section img,
.page-gdpr__data-processing-section img,
.page-gdpr__breach-notification-section img,
.page-gdpr__contact-section img {
  max-width: 100%;
  height: auto;
  width: auto; /* Allow auto width for larger screens, but min-width is 200px */
}

/* Override specific element styles to ensure contrast */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--text-main-color);
}
.page-gdpr p, .page-gdpr li {
  color: var(--text-secondary-color);
}
.page-gdpr__card {
  background-color: var(--card-bg-color);
  color: var(--text-secondary-color);
}

/* No CSS filter on images */
.page-gdpr img {
  filter: none; /* Ensure no filters are applied */
}