/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #26A9E0;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-text-dark: #333333;
  --page-gdpr-text-light: #FFFFFF;
  --page-gdpr-bg-light: #f8f9fa;
  --page-gdpr-bg-dark: #1a1a1a; /* Assuming shared.css --dark-bg-1 is a dark color */
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

.page-gdpr__dark-bg {
  background-color: var(--dark-bg-1);
  color: var(--page-gdpr-text-light);
}

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-text-dark);
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: var(--page-gdpr-primary-color); /* Brand primary color for hero */
  color: var(--page-gdpr-text-light);
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image to ensure text contrast */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary CTA */
  color: var(--page-gdpr-text-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-text-dark);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--page-gdpr-primary-color);
}

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

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

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

.page-gdpr__link {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #1a7bb5; /* A slightly darker shade for hover */
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-dark);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-question:hover {
  background-color: #f0f0f0;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question::marker {
  display: none;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--page-gdpr-text-dark);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: none;
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

  .page-gdpr__content-area {
    padding: 30px 15px;
  }

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

  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }

  .page-gdpr__text-block, .page-gdpr__list li, .page-gdpr__faq-answer {
    font-size: 1em;
  }

  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-area,
  .page-gdpr__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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