/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #26A9E0; /* Primary brand color for dark background */
}

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

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-gdpr__content-section,
.page-gdpr__data-collection-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__cookies-section,
.page-gdpr__faq-section,
.page-gdpr__cta-section {
  padding: 60px 0;
}

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

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

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

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

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-gdpr__list-item strong {
  color: inherit;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Primary brand color for secondary action */
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #f5f5f5;
}

.page-gdpr__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-heading {
  margin: 0;
  flex-grow: 1;
  color: inherit;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes cross */
  content: '−'; /* Change to minus sign */
}

.page-gdpr__faq-answer .page-gdpr__text-block {
  margin-bottom: 0; /* Remove extra margin from last paragraph in answer */
}

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

.page-gdpr a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }

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

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

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }

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

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

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

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

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

  .page-gdpr__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .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;
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px 0;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .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: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }

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

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

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