/* style/gdpr.css */

/* Root variables for colors */
:root {
  --page-gdpr-primary-color: #113B7A;
  --page-gdpr-secondary-color: #1D5FD1;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-gdpr-card-bg: #10233F;
  --page-gdpr-text-main: #F3F8FF;
  --page-gdpr-text-secondary: #AFC4E8;
  --page-gdpr-border-color: #244D84;
  --page-gdpr-glow-color: #4FA8FF;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1B3357;
  --page-gdpr-deep-navy: #08162B;
}

.page-gdpr {
  background-color: var(--page-gdpr-deep-navy); /* Body background from shared.css is var(--deep-navy), so use light text */
  color: var(--page-gdpr-text-main); /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
  background-color: var(--page-gdpr-primary-color);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -250px; /* Overlap with image for visual effect, text is not *on* the image */
  color: var(--page-gdpr-text-main);
  padding: 20px;
  background: rgba(17, 59, 122, 0.7); /* Semi-transparent background for text block */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__main-title {
  color: var(--page-gdpr-gold-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 100%;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  border: 2px solid var(--page-gdpr-glow-color);
  box-shadow: 0 0 15px var(--page-gdpr-glow-color);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--page-gdpr-glow-color);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-glow-color);
  border: 2px solid var(--page-gdpr-glow-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-glow-color);
  color: var(--page-gdpr-primary-color);
  transform: translateY(-3px);
}

.page-gdpr__section {
  padding: 40px 20px;
  border-bottom: 1px solid var(--page-gdpr-divider-color);
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--page-gdpr-text-main); /* Default text color for light-bg sections */
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--page-gdpr-gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__section-title--light {
  color: var(--page-gdpr-gold-color);
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--page-gdpr-glow-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__paragraph--light {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list--light {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item--light {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list-item strong {
  color: var(--page-gdpr-glow-color);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-primary-color);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-gdpr-gold-color);
  background-color: var(--page-gdpr-primary-color);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1a4a90;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-glow-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #1a4a90;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

.page-gdpr__faq-answer a {
  color: var(--page-gdpr-glow-color);
  text-decoration: underline;
}

/* Details/Summary specific styles to remove default marker */
.page-gdpr__faq-item summary {
  list-style: none;
}

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

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
  background-color: var(--page-gdpr-deep-navy);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.page-gdpr__contact-item {
  font-size: 1.2em;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-item a {
  color: var(--page-gdpr-glow-color);
  text-decoration: none;
  font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -180px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section {
    padding: 30px 15px;
  }

  .page-gdpr__content-area,
  .page-gdpr__faq-item,
  .page-gdpr__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p,
  .page-gdpr__contact-item {
    font-size: 1em;
    line-height: 1.5;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-content {
    margin-top: -50px;
  }
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
  .page-gdpr__faq-toggle {
    font-size: 1.2em;
  }
}