/* style/gdpr.css */

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--background, #08160F);
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column; /* Image above, text below */
  align-items: center;
  padding: 20px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  max-height: 675px; /* Limit height for aesthetic */
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 30px 0;
  max-width: 800px;
  margin-top: 20px; /* Space between image and content */
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

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

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

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--text-main, #F2FFF6);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: left;
}

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

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

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

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-gdpr__list--numbered {
  list-style: decimal;
}

.page-gdpr__image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
  margin-top: 40px;
}

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

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main, #F2FFF6);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: var(--deep-green, #0A4B2C); /* Slightly lighter dark green on hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F2FFF6);
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow, #57E38D); /* Use a bright color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-green, #0A4B2C); /* Slightly lighter dark green for answer background */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary, #A7D9B8);
}
.page-gdpr__faq-answer p {
  margin: 0;
}
.page-gdpr__faq-answer a {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}
.page-gdpr__faq-answer a:hover {
  color: var(--gold, #F2C14E);
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  border: 1px solid var(--border, #2E7A4E);
}

.page-gdpr__cta-title {
  font-size: 2em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-gdpr__btn-secondary {
  background: var(--card-bg, #11271B); /* Dark background for secondary button */
  color: var(--glow, #57E38D); /* Bright text for secondary button */
  border: 2px solid var(--glow, #57E38D);
}

.page-gdpr__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: var(--card-bg, #11271B); /* Invert colors on hover */
  border-color: var(--glow, #57E38D);
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-container {
    padding: 15px;
  }
  .page-gdpr__main-title {
    font-size: 2.4em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__image-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-gdpr__hero-container {
    padding: 10px;
  }
  .page-gdpr__hero-image {
    max-height: 400px;
  }
  .page-gdpr__hero-content {
    padding: 20px 0;
    margin-top: 15px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
    margin-bottom: 10px; /* Add margin for stacking buttons */
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__cta-section,
  .page-gdpr__image-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__content-section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-gdpr p,
  .page-gdpr__list li {
    font-size: 0.95em;
  }
  .page-gdpr__image-grid {
    gap: 15px;
  }

  /* FAQ Responsive */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 1em; }
  .page-gdpr__faq-toggle { font-size: 20px; width: 24px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }

  .page-gdpr__cta-section {
    padding: 30px 15px;
    margin-top: 40px;
  }
  .page-gdpr__cta-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }
  .page-gdpr__cta-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
}

/* Ensure proper color contrast for all elements */
.page-gdpr a {
  color: var(--glow, #57E38D); /* Default link color */
}
.page-gdpr a:hover {
  color: var(--gold, #F2C14E);
}