/* style/gdpr.css */

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

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

.page-gdpr__section {
  padding: 60px 0;
  background-color: #ffffff; /* Default light background for sections */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Primary brand color for dark sections */
  color: #ffffff; /* White text for dark background */
}

.page-gdpr__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
  line-height: 1.2;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 16px;
  color: inherit;
}

.page-gdpr p {
  color: inherit;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
  max-height: 600px; /* Limit height for hero image */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 30px; /* Space between image and content */
  padding: 0 20px;
  color: #ffffff; /* Ensure text is white on hero */
}

.page-gdpr__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-gdpr__intro-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* CTA Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

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

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

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

.page-gdpr__feature-card,
.page-gdpr__right-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-gdpr__feature-icon {
  width: 200px; /* Min size */
  height: 200px; /* Min size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-gdpr__feature-title,
.page-gdpr__right-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__feature-description,
.page-gdpr__right-description {
  font-size: 15px;
  color: #555555;
}

/* Commitment List */
.page-gdpr__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  color: #ffffff;
}

.page-gdpr__commitment-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  font-size: 16px;
}

.page-gdpr__commitment-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
}

/* Content Image */
.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
  color: #26A9E0;
  list-style: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 15px;
  color: #555555;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-content {
    margin-top: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-gdpr__intro-description {
    font-size: clamp(15px, 4vw, 18px);
  }

  /* Image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers */
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__features-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item,
  .page-gdpr__feature-card,
  .page-gdpr__right-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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;
    margin-left: 0;
    margin-right: 0;
  }

  /* Button groups 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; /* Allow buttons to wrap */
    gap: 10px; /* Space between wrapped buttons */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
  
  /* Video responsive */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-gdpr__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

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

/* Desktop specific video container width */
.page-gdpr__video-container {
  width: 100%; /* Ensures it takes full width of its parent */
  max-width: 1200px; /* Then limits it to a max width */
  margin: 0 auto;
  box-sizing: border-box;
}