/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

/* Section styling */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0; /* Rely on body padding for header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  padding: 20px 0;
  max-width: 900px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #e0e0e0;
}

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

.page-gdpr__link-inline:hover {
  color: #5ac5f2;
}

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

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly visible background for list items */
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-gdpr__list-item .page-gdpr__sub-title {
  margin-top: 0;
  color: #26A9E0;
}

.page-gdpr__list-item .page-gdpr__paragraph {
  color: #e0e0e0;
}

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

/* Color contrast sections */
.page-gdpr__dark-bg {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark sections */
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: #FFFFFF;
}
.page-gdpr__dark-bg .page-gdpr__paragraph {
  color: #f0f0f0;
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-gdpr__btn-primary:hover {
  background: #5ac5f2;
  border-color: #5ac5f2;
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.6);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.2);
}

.page-gdpr__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.4);
  transform: translateY(-2px);
}

.page-gdpr__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  min-width: 250px;
}

/* FAQ Section (using details/summary) */
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  font-weight: 600;
  font-size: 1.1rem;
  color: #26A9E0;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-gdpr__faq-answer {
  padding-bottom: 20px;
  font-size: 1rem;
  color: #e0e0e0;
}

/* Other sections padding */
.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-handling-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section,
.page-gdpr__updates-section,
.page-gdpr__final-cta-section {
  padding: 60px 0;
}

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

  .page-gdpr__container {
    padding: 0 15px !important; /* Ensure padding on mobile */
  }

  /* LOGO carousel (if present, keeping 80x80 fixed size) - This page doesn't have a logo carousel, but keeping the rule for completeness as per instructions */
  /* This section would be for .page-gdpr__logo-carousel-section and .page-gdpr__logo-item */
  /* For this specific page, there is no logo carousel, so these rules are technically not applied. */
  /* Example if it were present: */
  /* .page-gdpr__logo-carousel-section { padding: 10px 15px 20px; } */
  /* .page-gdpr__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
  } */

  .page-gdpr__hero-section {
    padding-top: 0 !important; /* Ensure no extra top padding on mobile */
    padding-bottom: 30px;
  }

  .page-gdpr__hero-content {
    padding: 15px 0;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 25px;
    padding-top: 30px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__paragraph {
    font-size: 0.95rem;
  }

  /* Universal image and container adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Exclude logo-item from generic img rules if it were present */
  /* .page-gdpr__logo-item { */
  /*   width: 80px !important;  */
  /*   height: 80px !important;  */
  /*   max-width: 80px !important;  */
  /*   box-sizing: border-box !important; */
  /* } */

  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-handling-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__updates-section,
  .page-gdpr__final-cta-section {
    padding: 30px 0;
  }

  .page-gdpr__list-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-gdpr__faq-item summary {
    font-size: 1rem;
    padding: 15px 0;
  }

  .page-gdpr__faq-answer {
    padding-bottom: 15px;
    font-size: 0.95rem;
  }

  /* Buttons and button containers */
  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
    padding: 0 15px !important; /* Ensure padding on mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    min-width: unset !important; /* Remove min-width for mobile */
  }

  .page-gdpr__btn-large {
    padding: 15px 25px !important;
    font-size: 1.1rem !important;
  }

  /* Specific section padding adjustment for mobile */
  .page-gdpr__dark-bg {
    padding: 30px 0;
  }
}

/* No CSS filters allowed on images as per instructions */
.page-gdpr img {
  filter: none !important;
}

/* Contrast fix classes (for emergency, though not explicitly used here) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}