/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 10px 0 60px 0; /* Small top padding, not var(--header-offset) */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 20px;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Card Grid */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Feature List */
.page-gdpr__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-gdpr__feature-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__feature-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Security List */
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__security-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #f0f0f0;
  border-left: 5px solid #26A9E0;
  font-size: 1em;
}

.page-gdpr__security-list li strong {
  color: #26A9E0;
}

/* Images within content */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  width: 100%; /* Default to full width on smaller screens */
  max-width: 500px; /* Limit width on larger screens */
}

/* Lists */
.page-gdpr__list {
  list-style: disc inside;
  text-align: left;
  max-width: 900px;
  margin: 20px auto;
  color: #f0f0f0;
  font-size: 1.05em;
}

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

/* Contact Info */
.page-gdpr__contact-info {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-gdpr__contact-info a {
  color: #26A9E0;
  text-decoration: none;
}

.page-gdpr__contact-info a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFFFF;
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

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

/* Section specific background colors */
.page-gdpr__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-gdpr__introduction, .page-gdpr__rights, .page-gdpr__contact {
  background-color: #0d0d0d;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important;
  }

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

  .page-gdpr__section-title {
    font-size: 2em !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

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

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-gdpr__hero-section,
  .page-gdpr__introduction .page-gdpr__container,
  .page-gdpr__rights .page-gdpr__container,
  .page-gdpr__data-processing .page-gdpr__container,
  .page-gdpr__security .page-gdpr__container,
  .page-gdpr__cookies .page-gdpr__container,
  .page-gdpr__contact .page-gdpr__container,
  .page-gdpr__faq .page-gdpr__container,
  .page-gdpr__conclusion .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Button responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-gdpr__btn-secondary {
    margin-top: 10px !important;
  }

  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__feature-list {
    grid-template-columns: 1fr;
  }

  .page-gdpr__image--right {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .page-gdpr__faq-item summary {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

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