/* style/gdpr.css */

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

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

.page-gdpr__section {
  padding: 80px 0;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-gdpr__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  color: #ffffff;
  text-align: center;
}

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__cta-buttons--center {
  margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-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: #1a7bb0;
  border-color: #1a7bb0;
}

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

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

/* Section specific styles */
.page-gdpr__introduction {
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
}

.page-gdpr__introduction .page-gdpr__section-title,
.page-gdpr__introduction .page-gdpr__sub-title {
  color: #26A9E0;
}

.page-gdpr__introduction p {
  color: #f0f0f0;
}

.page-gdpr__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
  gap: 40px;
}

.page-gdpr__text-block {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-gdpr__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__principles {
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

.page-gdpr__principles .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__principles .page-gdpr__section-description {
  color: #f0f0f0;
}

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

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-gdpr__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__card p {
  color: #f0f0f0;
  flex-grow: 1;
}

.page-gdpr__rights {
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
}

.page-gdpr__rights .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__rights .page-gdpr__section-description {
  color: #f0f0f0;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-item summary {
  list-style: none;
}

.page-gdpr__assurance {
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

.page-gdpr__assurance .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__assurance .page-gdpr__section-description {
  color: #f0f0f0;
}

.page-gdpr__card--assurance {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__card--assurance .page-gdpr__card-title {
  margin-bottom: 10px;
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
}

.page-gdpr__contact {
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
}

.page-gdpr__contact .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__contact .page-gdpr__section-description {
  color: #f0f0f0;
}

.page-gdpr__contact-info {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-info p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-gdpr__link:hover {
  color: #1a7bb0;
}

.page-gdpr__conclusion {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

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

.page-gdpr__conclusion .page-gdpr__section-description {
  color: #e0e0e0;
}

.page-gdpr__container--narrow {
  max-width: 900px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__content-wrapper {
    flex-direction: column;
  }
  .page-gdpr__text-block, .page-gdpr__image-block {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__container,
  .page-gdpr__contact-info {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-section {
    min-height: 400px;
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

  .page-gdpr__subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .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;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }

  /* Image responsive enforcement */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-block,
  .page-gdpr__card--assurance {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__content-wrapper {
    gap: 20px;
  }

  .page-gdpr__contact-info {
    padding: 20px;
  }
}