.page-gdpr {
  color: #333333; /* Dark text for light 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 {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-gdpr__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-gdpr__button--register:hover {
  background-color: #f0f0f0;
}

.page-gdpr__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-gdpr__button--login:hover {
  background-color: #e0a53b;
}

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

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

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

.page-gdpr__button--secondary:hover {
  background-color: #1a1a1a;
  border-color: #FFFFFF;
}

.page-gdpr__overview-section, .page-gdpr__data-security-section {
  padding: 60px 0;
  text-align: center;
  background-color: #FFFFFF;
}

.page-gdpr__rights-section, .page-gdpr__contact-section {
  padding: 60px 0;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000; /* Default for light background */
}

.page-gdpr__bg--dark .page-gdpr__section-title {
  color: #FCBC45; /* Gold for dark background */
}

.page-gdpr__section-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-gdpr__section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-gdpr__right-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-gdpr__data-security-section .page-gdpr__button {
  margin-top: 30px;
  margin-right: 15px;
  margin-left: 15px;
}

.page-gdpr__contact-section .page-gdpr__button {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }
  .page-gdpr__hero-description {
    font-size: 1.2em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__button {
    width: 80%;
    max-width: 300px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__section-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-gdpr are responsive and don't overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__button {
    width: 90%;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
}