/* style/gdpr.css */
.page-gdpr {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF;
}

.page-gdpr__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 0;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 20px;
  z-index: 10;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Highlight with accent color */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section--intro {
  background-color: #f9f9f9;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
  text-align: left;
}

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

.page-gdpr__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-gdpr__list-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-gdpr__list-item strong {
  color: #000000;
  margin-right: 10px;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: #FCBC45;
  margin-right: 10px;
  font-weight: bold;
}

.page-gdpr__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  text-align: center;
}

.page-gdpr__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-gdpr__button--primary:hover {
  background-color: #e6a73c;
  color: #000000;
}

.page-gdpr__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-gdpr__button--secondary:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-gdpr__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-gdpr__copyright {
  text-align: center;
  padding: 30px 20px;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

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

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__list-item {
    font-size: 1em;
    padding: 10px 15px;
  }

  .page-gdpr__text {
    text-align: justify;
  }

  .page-gdpr__hero-image {
    filter: brightness(0.4); /* Darken more for mobile readability */
  }

  .page-gdpr__hero-content {
    width: 90%;
  }

  .page-gdpr__button {
    width: 100%;
    margin-bottom: 15px;
  }

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

  .page-gdpr__container img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images are responsive and not too small */
  .page-gdpr__card-image,
  .page-gdpr__section--principles img,
  .page-gdpr__section--rights img,
  .page-gdpr__section--contact img,
  .page-gdpr__section--cta img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}