/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#121212), so use light text */
  background-color: transparent; /* Main content background will be transparent, letting body background show */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding for first section */
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for readability */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit hero image height */
  object-fit: cover;
  display: block;
  margin-bottom: 20px; /* Space between image and text */
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image if position is absolute */
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #26A9E0; /* Brand primary color for H1 */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for sections on dark body */
  margin-bottom: 20px;
  color: #ffffff; /* Light text for sections */
}

.page-gdpr__section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03); /* Alternate background for better readability */
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__subsection-title {
  font-size: 1.6em;
  color: #ffffff; /* White for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Slightly off-white for paragraph text */
}

.page-gdpr strong {
  color: #ffffff; /* White for strong text */
}

/* Lists */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

/* Cards Grid */
.page-gdpr__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text for cards */
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  color: #26A9E0; /* Brand primary color for card titles */
  margin-bottom: 10px;
  font-weight: bold;
}

/* Images in content */
.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7bbd; /* Darker shade on hover */
  border-color: #1a7bbd;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand primary color */
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__cta-section {
  background-color: #26A9E0; /* Dark section with primary brand color */
  color: #ffffff;
  text-align: center;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  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;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Brand color for question text */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller H1 for mobile */
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

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

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
  }

  .page-gdpr__cards-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    padding: 12px 15px; /* Adjust padding for full width buttons */
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Content area containers for mobile responsiveness */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Add padding to prevent content touching edges if not already there */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific padding for hero section if needed to override general section */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* FAQ items on mobile */
  .page-gdpr__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
  }
}

/* Ensure no CSS filter is used on images */
.page-gdpr img {
  filter: none;
}