/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

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

.page-gdpr__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #26A9E0;
  text-align: center;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
}

/* Color contrast safety */
.page-gdpr__dark-bg {
  background-color: #1a1a2e; /* Body background color from shared.css */
  color: #ffffff; /* Light text on dark background */
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 30px 20px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image in DOM */
  background: rgba(26, 26, 46, 0.9); /* Semi-transparent dark background */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-gdpr__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
}

.page-gdpr__intro-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__image-text-block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.page-gdpr__text-content {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Rights Section */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__rights-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-gdpr__rights-title {
  color: #26A9E0;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
}

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

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  color: #26A9E0;
  user-select: none;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-section {
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

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

  .page-gdpr__intro-text {
    font-size: 1rem;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-gdpr__paragraph {
    font-size: 1rem;
  }

  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__text-content {
    flex: 1 1 100%;
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px !important;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-gdpr__rights-title {
    font-size: 1.3rem;
  }

  .page-gdpr__faq-question {
    font-size: 1.1rem;
  }

  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic spacing */
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all image containers are responsive */
.page-gdpr__hero-image-wrapper,
.page-gdpr__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Ensure all video containers are responsive */
.page-gdpr video,
.page-gdpr__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure all button containers are responsive */
.page-gdpr__cta-buttons,
.page-gdpr__button-group,
.page-gdpr__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* No CSS filters on images */
.page-gdpr img {
  filter: none;
}

/* For desktop, ensure video container width is 100% if flex is used */
.page-gdpr__video-container {
  width: 100%;
  max-width: 1200px; /* Example max-width */
}