/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.2; /* Subtle overlay for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  border: 2px solid var(--primary-color);
}

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

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background);
}

.page-gdpr__dark-bg {
  background-color: var(--card-bg);
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  margin-bottom: 40px;
}

.page-gdpr__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
  font-size: 1.1em;
}

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border-color);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  color: var(--text-secondary);
  font-size: 1em;
}

.page-gdpr__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  text-align: left;
}

.page-gdpr__image-box,
.page-gdpr__text-box {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-gdpr__image-center {
  margin: 40px auto 0 auto;
  max-width: 800px;
}

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

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

.page-gdpr__list li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-gdpr__list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.page-gdpr__full-width-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 10px;
}

.page-gdpr__consent-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__contact-info {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  color: var(--text-secondary);
}

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

.page-gdpr__text-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-gdpr__text-link:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  color: var(--text-secondary);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--text-main);
  cursor: pointer;
  list-style: none; /* For <details> summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default arrow for <details> summary */
}

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

.page-gdpr__faq-answer {
  padding-top: 15px;
  border-top: 1px solid var(--divider-color);
  margin-top: 15px;
}

.page-gdpr__faq-answer p {
  margin: 0;
}

.page-gdpr__cta-section {
  padding: 80px 20px;
  background-color: var(--deep-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-gdpr__btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Color contrast fix for light-bg cards in dark sections */
.page-gdpr__security-measures .page-gdpr__card.page-gdpr__light-bg {
  color: #333333; /* Ensure dark text on light background */
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Responsive styles */
@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__hero-content {
    padding: 15px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

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

  .page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__card,
  .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
    margin-top: 20px;
  }

  .page-gdpr__list li {
    padding-left: 20px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr__btn-large {
    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__cta-section a {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-grid,
  .page-gdpr__grid-container,
  .page-gdpr__consent-features,
  .page-gdpr__faq-list,
  .page-gdpr__contact-info,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-gdpr__hero-image-wrapper {
    width: calc(100% + 30px); /* Account for section padding */
    left: -15px;
  }

  .page-gdpr__hero-content {
    width: calc(100% - 30px); /* Account for section padding */
  }

  .page-gdpr__full-width-image {
    width: calc(100% + 30px) !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    border-radius: 0;
  }

  .page-gdpr__image-center {
    max-width: calc(100% - 30px) !important;
  }
}