.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherited from shared.css */
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

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

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #300060;
  margin: 10px auto 0;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__introduction .page-gdpr__paragraph,
.page-gdpr__rights .page-gdpr__paragraph,
.page-gdpr__cookies .page-gdpr__paragraph,
.page-gdpr__contact .page-gdpr__paragraph {
  color: #333333; /* Dark text for light background */
}

.page-gdpr__introduction,
.page-gdpr__rights,
.page-gdpr__cookies,
.page-gdpr__contact {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-gdpr__principles,
.page-gdpr__implementation,
.page-gdpr__sharing,
.page-gdpr__faq {
  background-color: #300060;
  color: #ffffff;
  padding: 60px 0;
}

.page-gdpr__principles .page-gdpr__section-title::after,
.page-gdpr__implementation .page-gdpr__section-title::after,
.page-gdpr__sharing .page-gdpr__section-title::after,
.page-gdpr__faq .page-gdpr__section-title::after {
  background-color: #FFD700;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text for light card background */
  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.2);
}

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

.page-gdpr__card p {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-gdpr__introduction .page-gdpr__list-item,
.page-gdpr__rights .page-gdpr__list-item,
.page-gdpr__cookies .page-gdpr__list-item,
.page-gdpr__contact .page-gdpr__list-item {
  background: #f9f9f9;
  color: #333333;
  border-left: 5px solid #300060;
}

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

.page-gdpr__introduction .page-gdpr__list-item strong,
.page-gdpr__rights .page-gdpr__list-item strong,
.page-gdpr__cookies .page-gdpr__list-item strong,
.page-gdpr__contact .page-gdpr__list-item strong {
  color: #300060;
}

.page-gdpr__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #300060;
  border: 2px solid #FFD700;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #300060;
}

.page-gdpr__hero-content .page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #300060;
  border: 2px solid #FFD700;
}

.page-gdpr__hero-content .page-gdpr__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
}

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

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #300060;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #4a0080;
}

.page-gdpr__faq-title {
  margin: 0;
  color: #FFD700;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  font-size: 1em;
}

.page-gdpr a {
  color: #FFD700;
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

/* 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__paragraph {
    font-size: 0.95em;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-section,
  .page-gdpr__introduction,
  .page-gdpr__principles,
  .page-gdpr__rights,
  .page-gdpr__implementation,
  .page-gdpr__cookies,
  .page-gdpr__sharing,
  .page-gdpr__contact,
  .page-gdpr__faq {
    padding: 40px 0;
  }

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

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }
}