/* style/gdpr.css */
:root {
  --page-gdpr-primary-color: #26A9E0;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-text-color-dark: #333333;
  --page-gdpr-text-color-light: #ffffff;
  --page-gdpr-login-button-color: #EA7C07;
  --page-gdpr-background-color: #121212; /* Body background from shared.css */
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-color-light); /* Light text on dark body background */
  background-color: var(--page-gdpr-background-color);
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  background: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Minimum height for hero section */
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: var(--page-gdpr-login-button-color); /* Using login color for primary CTA */
  color: var(--page-gdpr-text-color-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #c96d06; /* Darken #EA7C07 */
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-background-color);
  color: var(--page-gdpr-text-color-light);
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-color-light);
}

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

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

.page-gdpr__sub-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--page-gdpr-text-color-light);
}

.page-gdpr__highlight {
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
}

.page-gdpr__brand-name {
  font-weight: bold;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__keyword {
  font-style: italic;
  color: var(--page-gdpr-secondary-color);
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--page-gdpr-text-color-light);
}

.page-gdpr__list-title {
  font-size: 1.2em;
  color: var(--page-gdpr-primary-color);
  margin-bottom: 5px;
}

.page-gdpr__list-description {
  font-size: 1em;
  color: var(--page-gdpr-text-color-light);
  margin-left: 15px;
}

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

.page-gdpr__link-text:hover {
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-gdpr__main-image,
.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
  filter: none; /* Ensure no filter is applied */
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-background-color);
  color: var(--page-gdpr-text-color-light);
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-gdpr-primary-color);
  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;
}

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

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }

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

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

  .page-gdpr__sub-title,
  .page-gdpr__faq-title {
    font-size: 1.1em;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__content-section, .page-gdpr__faq-section {
    padding: 40px 0;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image-wrapper,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .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;
  }
}