/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --border-color: #e0e0e0;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  background: var(--primary-color);
}

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

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.page-gdpr__section {
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--secondary-color);
  color: var(--dark-text-color);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--dark-text-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--dark-text-color);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__contact-info {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-info p {
  color: var(--dark-text-color);
  margin-bottom: 10px;
}

.page-gdpr__contact-detail {
  font-weight: bold;
  color: var(--primary-color);
}

.page-gdpr__faq-section {
  background: #f8f8f8; /* Lighter background for FAQ section */
  color: var(--dark-text-color);
  padding: 60px 20px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  color: var(--dark-text-color);
  cursor: pointer;
  background: #fcfcfc;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
  list-style: none;
}

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

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background: #f0f0f0;
}

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

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

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  color: var(--dark-text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-gdpr__cta-section {
  background: linear-gradient(90deg, var(--primary-color) 0%, #208bc4 100%);
  padding: 60px 20px;
  text-align: center;
  color: var(--light-text-color);
}

.page-gdpr__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-gdpr__cta-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--login-color); /* Use login color for primary CTA */
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
}

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

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

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

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

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

  .page-gdpr__hero-content {
    padding: 0;
  }

  .page-gdpr__content-area,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding: 20px 15px !important;
  }

  .page-gdpr__content-area {
    border-radius: 0;
    box-shadow: none;
  }

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

  .page-gdpr__hero-description {
    margin-bottom: 20px;
  }

  .page-gdpr__section-title {
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    margin-top: 20px;
    margin-bottom: 10px;
  }

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

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__section,
  .page-gdpr__content-area,
  .page-gdpr__cta-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 10px 20px 15px;
  }
}