/* style/gdpr.css */

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

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

/* Hero Section */
.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, body handles header offset */
  min-height: 500px;
  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;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__cta-buttons {
  display: flex;
  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;
  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: #1e87c0;
  border-color: #1e87c0;
}

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

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

/* Section styles */
.page-gdpr__section {
  padding: 80px 0;
}

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

.page-gdpr__sub-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-gdpr__list-item strong {
  color: #26A9E0;
}

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

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 50%;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 50%;
}

.page-gdpr__section:after {
  content: "";
  display: table;
  clear: both;
}

.page-gdpr__introduction .page-gdpr__section-title,
.page-gdpr__data-sharing .page-gdpr__section-title,
.page-gdpr__contact .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__data-collection .page-gdpr__section-title,
.page-gdpr__data-security .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__dark-bg {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark sections */
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__text-block {
  color: #f0f0f0;
}

.page-gdpr__dark-bg .page-gdpr__list-item {
  color: #f0f0f0;
}

.page-gdpr__dark-bg .page-gdpr__list-item strong {
  color: #ffffff;
}

.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1e87c0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

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

  .page-gdpr__section-title {
    font-size: 2rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.4rem;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 1rem;
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right {
    float: none;
    margin: 0 auto 30px auto;
    max-width: 80%;
  }
}

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

  .page-gdpr__hero-section {
    min-height: 400px;
  }

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

  .page-gdpr__description {
    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;
    text-align: center;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.2rem;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 0.95rem;
  }

  .page-gdpr__container {
    padding: 0 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__image--left,
  .page-gdpr__image--right {
    margin-bottom: 20px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 30px 10px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }

  .page-gdpr__description {
    font-size: 0.9rem;
  }

  .page-gdpr__section-title {
    font-size: 1.5rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.1rem;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 0.9rem;
  }
}

/* Accessibility: Ensure contrast for links */
.page-gdpr a {
  color: #26A9E0; /* Brand color */
}

.page-gdpr a:hover {
  color: #1e87c0; /* Darker shade on hover */
}

/* Specific contrast adjustments for dark background */
.page-gdpr strong {
  color: #ffffff;
}

.page-gdpr__section.page-gdpr__dark-bg a {
  color: #ffffff;
}

.page-gdpr__section.page-gdpr__dark-bg a:hover {
  color: #e0e0e0;
}