/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d1117; /* Inherited from body, ensure contrast */
  padding-top: 0; /* Handled by specific sections */
}

/* First content module top spacing to clear fixed header */
.page-gdpr__hero-gdpr {
  padding-top: 120px; /* Desktop spacing */
}

@media (max-width: 768px) {
  .page-gdpr__hero-gdpr {
    padding-top: 100px; /* Mobile spacing */
  }
}

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

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

.page-gdpr__section-title {
  font-size: 32px;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__main-title {
  font-size: 48px;
  color: #FFD700; /* Gold for main title */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__hero-subtitle {
  font-size: 20px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 30px;
  background: #FFD700;
  color: #003366;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__btn-primary:hover {
  background: #e6c200;
  color: #001a33;
}

.page-gdpr__btn-contact {
  margin-top: 30px;
}

.page-gdpr__text-block p,
.page-gdpr__list li,
.page-gdpr__rights-list li p {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-gdpr__text-block h3 {
  font-size: 22px;
  color: #FFD700;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

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

.page-gdpr__link-text {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link-text:hover {
  color: #e6c200;
}

/* Section specific styles */
.page-gdpr__hero-gdpr {
  background-color: #003366;
  padding-bottom: 80px;
}

.page-gdpr__introduction .page-gdpr__container,
.page-gdpr__data-collection .page-gdpr__container,
.page-gdpr__data-usage .page-gdpr__container,
.page-gdpr__user-rights .page-gdpr__container,
.page-gdpr__data-security .page-gdpr__container,
.page-gdpr__data-sharing .page-gdpr__container,
.page-gdpr__data-retention .page-gdpr__container,
.page-gdpr__faq .page-gdpr__container {
  background-color: rgba(0, 51, 102, 0.7); /* Slightly transparent dark blue */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-gdpr__dark-section {
  background-color: #003366;
  color: #ffffff;
}

.page-gdpr__dark-bg {
  color: #ffffff; /* Ensure light text on dark background */
}

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

.page-gdpr__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

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

.page-gdpr__rights-list li {
  background-color: rgba(0, 51, 102, 0.9);
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-list li h3 {
  color: #FFD700;
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 10px;
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(0, 51, 102, 0.7); /* Match container background */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: rgba(0, 51, 102, 0.9); /* Slightly darker for answer */
  color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #003366;
  border: 1px solid #004080;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #004080;
  border-color: #0050a0;
}

.page-gdpr__faq-question:active {
  background: #002244;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-gdpr__faq-question h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #f0f0f0;
  transform: rotate(45deg); /* Plus to X effect */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 28px;
  }

  .page-gdpr__main-title {
    font-size: 40px;
  }

  .page-gdpr__hero-subtitle {
    font-size: 18px;
  }
}

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

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

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 32px;
  }

  .page-gdpr__hero-subtitle {
    font-size: 16px;
  }

  .page-gdpr__btn-primary {
    padding: 10px 25px;
    font-size: 16px;
  }

  .page-gdpr__text-block p,
  .page-gdpr__list li,
  .page-gdpr__rights-list li p {
    font-size: 15px;
  }

  .page-gdpr__text-block h3 {
    font-size: 20px;
  }

  .page-gdpr__rights-list li h3 {
    font-size: 20px;
  }

  .page-gdpr__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-gdpr__image-wrapper {
    min-width: unset;
    width: 100%;
  }
  
  /* Mobile image specific rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ mobile */
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-gdpr__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}