/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* Body background from shared.css */
  --btn-login-color: #EA7C07;
}

/* Base styles for the GDPR page content, ensuring light text on dark body background */
.page-gdpr {
  color: var(--text-light); /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-dark); /* Ensure consistency if section backgrounds are transparent */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent dark overlay for text readability */
  color: var(--text-light);
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background */
  z-index: 1; /* Ensure content is on top */
}

.page-gdpr__main-title {
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 fits */
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--secondary-color); /* Light background for content */
  color: var(--text-dark); /* Dark text on light background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-30px); /* Lift content slightly */
  margin-bottom: -30px;
  position: relative;
  z-index: 2;
}

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

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

.page-gdpr__text-block {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

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

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

.page-gdpr__list-item strong {
  color: var(--primary-color);
}

.page-gdpr__image-in-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-gdpr__faq-section {
  margin-top: 50px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.page-gdpr__faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-dark);
  font-size: 1.1em;
  list-style: none; /* For details summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* For details summary */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: var(--primary-color);
}

.page-gdpr__faq-answer {
  padding-top: 5px;
  padding-bottom: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-gdpr__commitment-section {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-gdpr__commitment-section .page-gdpr__section-title {
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-gdpr__commitment-section .page-gdpr__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  font-size: 1.1em;
}

.page-gdpr__commitment-section .page-gdpr__cta-buttons .page-gdpr__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-gdpr__commitment-section .page-gdpr__cta-buttons .page-gdpr__btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-gdpr__commitment-section .page-gdpr__cta-buttons .page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-gdpr__commitment-section .page-gdpr__cta-buttons .page-gdpr__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
  .page-gdpr__content-area, .page-gdpr__commitment-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__content-area {
    padding: 20px 15px;
    transform: translateY(-20px);
    margin-bottom: -20px;
  }

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

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

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__faq-section {
    padding: 20px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.2em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-area,
  .page-gdpr__commitment-section,
  .page-gdpr__faq-section,
  .page-gdpr__image-in-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-gdpr__commitment-section {
    padding: 50px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.6em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    padding: 10px 15px;
  }
}