/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicit for clarity */
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background-color: #1a7fb2;
}

.page-gdpr__cta-button--center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__list-item .page-gdpr__sub-title {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.4em;
}

.page-gdpr__list-item .page-gdpr__paragraph {
  margin-bottom: 0;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
}

.page-gdpr__link:hover {
  text-decoration: underline;
}

/* Color contrast specific styles */
.page-gdpr__dark-bg {
  background-color: #1c1c1c; /* Slightly lighter than body for sections */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #f8f8f8;
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__light-bg .page-gdpr__sub-title {
  color: #333333;
}

.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item,
.page-gdpr__light-bg .page-gdpr__contact-item {
  color: #333333;
}

.page-gdpr__light-bg .page-gdpr__faq-question {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-gdpr__light-bg .page-gdpr__faq-answer {
  background-color: #f0f0f0;
  color: #333333;
}

.page-gdpr__light-bg .page-gdpr__faq-toggle {
  color: #26A9E0;
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-gdpr__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

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

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

  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-gdpr__list-item::before {
    left: -5px;
  }

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

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