/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-gdpr__intro-section {
  padding-top: 120px; /* Adjust for fixed header */
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, #000080, #1a1a3a); /* Dark blue gradient */
  color: #ffffff;
}

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

.page-gdpr__main-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #FFD700; /* Gold for emphasis */
  line-height: 1.3;
}

.page-gdpr__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__text-block strong {
  color: #FFD700;
}

.page-gdpr__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary {
  background: #FFD700;
  color: #000000; /* Black text for gold button */
  border-color: #FFD700;
}

.page-gdpr__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #FFD700; /* Gold text for transparent button */
  border-color: #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-gdpr__light-bg {
  background: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__dark-section {
  background: #1a1a3a; /* Dark blue */
  color: #ffffff;
}

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

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

.page-gdpr__text-block--white {
  color: #f0f0f0;
}

.page-gdpr__subsection-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-gdpr__subsection-title--white {
  color: #ffffff;
}

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

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

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000080; /* Navy blue for card titles */
}

.page-gdpr__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

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

.page-gdpr__list-item {
  font-size: 17px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0; /* Default for dark background */
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700; /* Gold checkmark */
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-gdpr__list--white .page-gdpr__list-item {
  color: #f0f0f0;
}

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

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

.page-gdpr__right-item {
  background: #ffffff;
  color: #333333;
  border-left: 4px solid #FFD700; /* Gold accent */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-gdpr__right-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000080;
}

.page-gdpr__right-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

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

.page-gdpr__contact-item {
  font-size: 18px;
  color: #333333;
}

.page-gdpr__contact-item strong {
  color: #000080;
}

.page-gdpr__link {
  color: #000080; /* Navy blue for links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #FFD700; /* Gold on hover */
  text-decoration: underline;
}

.page-gdpr__link--white {
  color: #FFD700;
}

.page-gdpr__link--white:hover {
  color: #ffffff;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background: #121212;
  padding-bottom: 80px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #333333;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* 🚨 Ensure it expands */
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a1a3a; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-gdpr__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a; /* Dark background for question */
  border: 1px solid #333333;
  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: #3a3a3a;
  border-color: #444444;
}

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

.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: #ffffff; /* White text for question */
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold toggle icon */
  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: #ffffff;
  transform: rotate(45deg); /* Plus to X effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 32px;
  }

  .page-gdpr__section-title {
    font-size: 28px;
  }

  .page-gdpr__card-title {
    font-size: 20px;
  }

  .page-gdpr__right-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__intro-section {
    padding-top: 100px; /* Adjust for mobile fixed header */
    padding-bottom: 40px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

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

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

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

  .page-gdpr__subsection-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__card-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__right-item {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 18px;
  }

  .page-gdpr__card-text,
  .page-gdpr__right-description {
    font-size: 15px;
  }

  .page-gdpr__list-item {
    font-size: 15px;
    padding-left: 25px;
  }

  .page-gdpr__list-item::before {
    font-size: 18px;
  }

  .page-gdpr__contact-item {
    font-size: 16px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-gdpr__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  /* FAQ responsive */
  .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;
  }

  /* Mobile image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}