/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.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); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-gdpr__section {
  padding: 60px 20px;
}

.page-gdpr__section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-gdpr__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0; /* Default light color for text */
}

.page-gdpr__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #ffffff;
}

.page-gdpr__dark-section {
  background: #0d0d0d; /* A slightly lighter dark for sections to provide subtle variation from body background */
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #26A9E0;
}

.page-gdpr__dark-section .page-gdpr__paragraph {
  color: #f0f0f0;
}

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

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

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

.page-gdpr__light-bg .page-gdpr__text-link {
  color: #26A9E0;
}

.page-gdpr__light-bg .page-gdpr__text-link:hover {
  color: #000000;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7fb2;
  border-color: #ffffff;
}

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-gdpr__rights-grid,
.page-gdpr__security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 769px) {
  .page-gdpr__grid-layout {
    grid-template-columns: 1fr 1fr;
  }
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr 1.5fr;
  }
  .page-gdpr__security-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.page-gdpr__image-full-width,
.page-gdpr__rights-image,
.page-gdpr__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-gdpr__rights-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  color: #f0f0f0; /* Default light color for text */
}

.page-gdpr__light-bg .page-gdpr__rights-list {
  color: #333333;
}

.page-gdpr__rights-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.6;
}

.page-gdpr__contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

@media (min-width: 769px) {
  .page-gdpr__contact-info {
    flex-direction: row;
    text-align: left;
    justify-content: center;
  }
  .page-gdpr__contact-details {
    max-width: 50%;
  }
}

.page-gdpr__faq-section {
  background: #0d0d0d;
  color: #ffffff;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #26A9E0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
}

.page-gdpr__faq-question:hover {
  background: #1a7fb2;
}

.page-gdpr__faq-title {
  margin: 0;
  color: #ffffff;
}

.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);
}

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

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
  }

  .page-gdpr__hero-section {
    height: 400px;
  }

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

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

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

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
  }

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

  .page-gdpr__grid-layout,
  .page-gdpr__rights-grid,
  .page-gdpr__security-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-gdpr__contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__contact-details {
    max-width: 100%;
  }

  /* Image responsiveness for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__section-container,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__grid-item,
  .page-gdpr__rights-item,
  .page-gdpr__security-item,
  .page-gdpr__contact-info,
  .page-gdpr__contact-details {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness for mobile */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; /* For multiple buttons */
  }
}