/* style/gdpr.css */

/* General page styling */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Rely on body background */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure visibility */
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%); /* Gradient fallback */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__intro-text {
  font-size: clamp(1em, 1.5vw, 1.25em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__content-section:last-of-type {
  border-bottom: none;
}

.page-gdpr__dark-section {
  background-color: rgba(0, 0, 0, 0.4); /* Darker background for contrast */
}

.page-gdpr__container {
  width: 100%; /* Ensure width is 100% for desktop to be safe */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

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

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__paragraph {
  color: #e0e0e0;
}

.page-gdpr__image-full,
.page-gdpr__image-centered {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  transition: transform 0.3s ease;
}

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

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

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

/* List styles */
.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
  font-size: 1.1em;
}

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

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

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

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

.page-gdpr__contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.page-gdpr__security-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

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

.page-gdpr__security-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  background-color: #0a0a0a; /* Ensure dark background for this CTA */
  padding: 80px 20px;
}

.page-gdpr__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

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

/* Responsive design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }
}

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

  .page-gdpr__hero-section {
    min-height: 400px;
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
    margin-bottom: 25px;
  }

  .page-gdpr__content-section {
    padding: 30px 15px;
  }

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

  .page-gdpr__paragraph {
    font-size: 1em;
  }

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

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

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

  .page-gdpr__list {
    margin-left: 20px;
    font-size: 1em;
  }

  .page-gdpr__contact-item {
    font-size: 1em;
  }

  .page-gdpr__cta-section {
    padding: 60px 15px;
  }

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

  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* maintain height for hero */
    object-fit: cover !important;
  }

  /* Container padding for mobile */
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no filter on images */
.page-gdpr img {
  filter: none; /* Reset any potential filter from shared or other sources */
}
.page-gdpr__hero-image {
  filter: brightness(0.6); /* This is an intentional effect for readability, not color change */
}

/* Specific contrast fixes if needed */
.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;
}