/* style/gdpr.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --dark-background: #121212;
  --light-text: #ffffff;
  --dark-text: #333333;
  --neutral-gray: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-gdpr {
  color: var(--light-text); /* Light text for dark body background */
  background-color: var(--dark-background); /* Inherited from body via shared.css */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

.page-gdpr__hero-section {
  padding: 60px 0;
  text-align: center;
  background: var(--primary-color);
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-gdpr__description {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-text);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: normal;
}

.page-gdpr__btn-primary {
  background: var(--secondary-color);
  color: var(--dark-text);
}

.page-gdpr__btn-primary:hover {
  background: #e6b000; /* Slightly darker secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section.page-gdpr__light-bg {
  background-color: var(--neutral-gray);
  color: var(--dark-text);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--secondary-color); /* Use secondary color for section titles */
}

.page-gdpr__section.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__content-block {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.05em;
}

.page-gdpr__content-block p {
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-gdpr__section.page-gdpr__light-bg .page-gdpr__sub-title {
  color: var(--primary-color);
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-gdpr__contact-link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__section.page-gdpr__light-bg .page-gdpr__contact-link {
  color: var(--primary-color);
}

.page-gdpr__contact-link:hover {
  color: var(--light-text);
}

.page-gdpr__section.page-gdpr__light-bg .page-gdpr__contact-link:hover {
  color: var(--dark-text);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--light-text);
  color: var(--dark-text);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: var(--neutral-gray);
  border-color: #d0d0d0;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text);
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Plus to X */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #fdfdfd;
  color: var(--dark-text);
  border-top: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 15px !important;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }

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

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

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 15px;
    line-height: 1.6;
  }

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

  .page-gdpr__hero-section {
    padding: 40px 0;
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

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

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

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

  .page-gdpr__image {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    border-radius: 4px;
  }

  .page-gdpr__content-block {
    font-size: 0.95em;
  }

  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-gdpr__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all content containers are responsive */
  .page-gdpr__section,
  .page-gdpr__content-block,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
  }

  .page-gdpr__cta-button {
    font-size: 0.95em;
  }
}