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

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

.page-gdpr__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 0;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-gdpr__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-gdpr__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Dark red text for primary button */
  border: 2px solid #FFD700;
}

.page-gdpr__button--primary:hover {
  background-color: #e6c200;
  color: #8B0000;
}

.page-gdpr__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

.page-gdpr__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark red for section titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-gdpr__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

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

.page-gdpr__principle-card:hover {
  transform: translateY(-5px);
}

.page-gdpr__principle-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__principle-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-gdpr__principle-text {
  font-size: 1em;
  color: #666666;
}

.page-gdpr__section--contact {
  background-color: #8B0000; /* Dark red background for contact section */
  color: #ffffff;
}

.page-gdpr__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-gdpr__contact-content {
  flex: 1;
}

.page-gdpr__contact-content .page-gdpr__section-title {
  color: #FFD700; /* Gold title on dark red background */
  text-align: left;
}

.page-gdpr__contact-content .page-gdpr__section-description {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
}

.page-gdpr__contact-image-wrapper {
  flex: 1;
  min-width: 400px; /* Ensure image has a minimum width */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }

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

  .page-gdpr__principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-gdpr__container--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__contact-content .page-gdpr__section-title,
  .page-gdpr__contact-content .page-gdpr__section-description {
    text-align: center;
  }
  .page-gdpr__contact-image-wrapper {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
  }

  .page-gdpr__hero-content {
    padding: 30px;
  }

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

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

  .page-gdpr__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__button {
    width: 100%;
    padding: 12px 20px;
  }

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

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

  .page-gdpr__principle-card {
    padding: 20px;
  }

  .page-gdpr__principle-title {
    font-size: 1.5em;
  }

  .page-gdpr__principle-image {
    height: 200px; /* Adjust height for smaller screens, still >= 200px */
  }

  /* Critical: Ensure images don't overflow on mobile */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

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

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