/* style/gdpr.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
  --login-color: #EA7C07;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--secondary-color);
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  color: var(--text-color-light);
  background-color: var(--primary-color);
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

.page-gdpr__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-color-light);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__intro-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Using login color for CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: darken(var(--login-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

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

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

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-gdpr__content-section p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__content-section p a {
  color: var(--login-color);
  text-decoration: underline;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__rights-list, .page-gdpr__protection-measures {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
}

.page-gdpr__rights-list li, .page-gdpr__protection-measures li {
  margin-bottom: 10px;
}

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

.page-gdpr__faq-list {
  margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-color-dark);
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: var(--background-light);
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

.page-gdpr__contact-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-gdpr__contact-section p {
  margin-bottom: 20px;
}

.page-gdpr__contact-section p a {
  color: var(--login-color);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 36px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
}

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

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

  .page-gdpr__hero-image-wrapper img {
    border-radius: 4px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-gdpr__intro-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  .page-gdpr__rights-list, .page-gdpr__protection-measures {
    margin-left: 20px;
  }
  .page-gdpr__rights-list li, .page-gdpr__protection-measures li {
    margin-bottom: 8px;
  }

  /* Ensure all images and containers are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section, .page-gdpr__card, .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 24px;
  }
  .page-gdpr__intro-description {
    font-size: 15px;
  }
  .page-gdpr__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-gdpr__section-title {
    font-size: 22px;
  }
  .page-gdpr__faq-qtext {
    font-size: 14px;
  }
}