/* 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 handles the main background */
}

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

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

.page-gdpr__dark-section {
  background-color: #0a0a0a; /* Ensure dark background for sections that need it */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
}

.page-gdpr__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 900px; /* To prevent extremely long lines */
  margin: 0 auto 20px auto;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Using clamp as a last resort for H1 */
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text */
  text-align: left;
}

.page-gdpr__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  overflow: hidden; /* To prevent image overflow */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* No CSS filter */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87c2;
}

/* Grid for cards/features */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Features Grid */
.page-gdpr__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: none; /* No CSS filter */
}

.page-gdpr__feature-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-gdpr__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 1.1em;
  position: relative;
  padding-left: 40px;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 15px;
}

/* Contact Info */
.page-gdpr__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-gdpr__contact-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #1e87c2;
  text-decoration: underline;
}

.page-gdpr__contact-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-top: 30px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: none; /* No CSS filter */
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

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

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on summary, not just text */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  pointer-events: none; /* Allow click on summary, not just toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X */
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

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

/* Ensure details summary marker is hidden */
.page-gdpr__faq-item summary {
  list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Conclusion Section */
.page-gdpr__conclusion {
  padding-bottom: 80px;
}

/* Responsive design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 for mobile */
    max-width: 100%;
    padding: 0 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    padding: 0 15px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
    padding: 0 15px;
  }

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

  /* All images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image containers responsive */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__feature-icon,
  .page-gdpr__contact-image,
  .page-gdpr__card,
  .page-gdpr__section,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* All buttons responsive */
  .page-gdpr__btn-primary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button containers responsive */
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__list-item {
    font-size: 0.95em;
    padding-left: 35px;
  }

  .page-gdpr__list-item::before {
    left: 10px;
  }

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

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

/* Ensure color contrast for links */
.page-gdpr a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1e87c2;
}

/* Specific button color for login if needed */
.page-gdpr__btn-login {
  background-color: #EA7C07;
  color: #FFFFFF;
}
.page-gdpr__btn-login:hover {
  background-color: #c76506;
}