/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
  overflow: hidden;
}

.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 better text contrast */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__link {
  color: #FFFF00; /* Custom color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #f5f5f5;
  text-decoration: none;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login buttons */
  color: #FFFF00; /* Custom font color for register/login buttons */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-gdpr__btn-primary:hover {
  background-color: #e02020;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #017439;
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2b;
}

.page-gdpr__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
  margin-bottom: 0;
}

.page-gdpr__cta-section {
  text-align: center;
  background-color: #ffffff; /* Use white background for CTA section */
  color: #333333; /* Dark text for white background */
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

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

  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

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

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__hero-content {
    padding: 10px;
  }
}