/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #26A9E0;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-text-dark: #ffffff; /* For dark backgrounds */
  --page-gdpr-text-light: #333333; /* For light backgrounds */
  --page-gdpr-background-dark: #0a0a0a; /* Body background */
  --page-gdpr-card-bg-dark: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark bg */
  --page-gdpr-card-bg-light: #ffffff;
  --page-gdpr-login-color: #EA7C07;
}

.page-gdpr {
  color: var(--page-gdpr-text-dark); /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--page-gdpr-background-dark); /* Ensure consistency if body background is overridden */
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, header handled by body */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--page-gdpr-background-dark);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  margin-top: -150px; /* Overlap slightly with the image for visual flow */
  padding: 0 20px;
  max-width: 900px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--page-gdpr-secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--page-gdpr-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__btn-primary {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-secondary-color);
  border: 2px solid var(--page-gdpr-primary-color);
}

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

.page-gdpr__intro-section, .page-gdpr__purpose-section, .page-gdpr__security-section, .page-gdpr__international-transfer-section, .page-gdpr__cookies-section, .page-gdpr__changes-section {
  background-color: var(--page-gdpr-card-bg-light);
  color: var(--page-gdpr-text-light);
  padding: 60px 0;
}

.page-gdpr__data-collection-section, .page-gdpr__rights-section, .page-gdpr__sharing-section, .page-gdpr__retention-section, .page-gdpr__contact-section {
  background-color: var(--page-gdpr-background-dark);
  color: var(--page-gdpr-text-dark);
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherits from section, so it's either dark or light */
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__text-block strong {
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__content-grid, .page-gdpr__purpose-grid, .page-gdpr__rights-grid, .page-gdpr__sharing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card, .page-gdpr__purpose-item, .page-gdpr__right-card, .page-gdpr__sharing-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover, .page-gdpr__purpose-item:hover, .page-gdpr__right-card:hover, .page-gdpr__sharing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__dark-bg-card {
  background-color: var(--page-gdpr-card-bg-dark);
  color: var(--page-gdpr-text-dark);
}

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

.page-gdpr__card-title, .page-gdpr__purpose-title, .page-gdpr__item-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__card-text, .page-gdpr__purpose-text, .page-gdpr__item-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-gdpr__security-list, .page-gdpr__transfer-list, .page-gdpr__retention-list, .page-gdpr__cookie-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__security-item, .page-gdpr__transfer-item, .page-gdpr__retention-item, .page-gdpr__cookie-item {
  background-color: var(--page-gdpr-card-bg-light);
  color: var(--page-gdpr-text-light);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__dark-bg .page-gdpr__security-item, .page-gdpr__dark-bg .page-gdpr__transfer-item, .page-gdpr__dark-bg .page-gdpr__retention-item, .page-gdpr__dark-bg .page-gdpr__cookie-item {
  background-color: var(--page-gdpr-card-bg-dark);
  color: var(--page-gdpr-text-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__list-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__list-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-gdpr__link {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #1f8ec4;
  text-decoration: underline;
}

.page-gdpr__contact-info {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--page-gdpr-card-bg-dark);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-text {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* General image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  /* HERO Section Mobile */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-gdpr__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

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

  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Section Titles Mobile */
  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  /* Content Grids Mobile */
  .page-gdpr__content-grid, .page-gdpr__purpose-grid, .page-gdpr__rights-grid, .page-gdpr__sharing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card, .page-gdpr__purpose-item, .page-gdpr__right-card, .page-gdpr__sharing-item {
    padding: 25px;
  }

  .page-gdpr__card-image {
    height: 180px;
  }

  .page-gdpr__card-title, .page-gdpr__purpose-title, .page-gdpr__item-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .page-gdpr__card-text, .page-gdpr__purpose-text, .page-gdpr__item-text {
    font-size: 0.95rem;
  }

  /* Lists Mobile */
  .page-gdpr__security-item, .page-gdpr__transfer-item, .page-gdpr__retention-item, .page-gdpr__cookie-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-gdpr__list-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .page-gdpr__list-text {
    font-size: 0.9rem;
  }

  /* Contact Section Mobile */
  .page-gdpr__contact-info {
    padding: 25px;
    margin-top: 30px;
  }

  .page-gdpr__contact-text {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  /* Universal image and container responsiveness for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__intro-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__purpose-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__sharing-section,
  .page-gdpr__international-transfer-section,
  .page-gdpr__retention-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__changes-section,
  .page-gdpr__content-grid,
  .page-gdpr__purpose-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__sharing-grid,
  .page-gdpr__security-list,
  .page-gdpr__transfer-list,
  .page-gdpr__retention-list,
  .page-gdpr__cookie-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Ensure buttons adapt for mobile */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}