/* style/gdpr.css */

/* Variables */
:root {
  --page-gdpr-primary-color: #0A2463;
  --page-gdpr-secondary-color: #E3B23C;
  --page-gdpr-text-light: #F8F8F8;
  --page-gdpr-text-dark: #333333;
  --page-gdpr-bg-light: #FFFFFF;
  --page-gdpr-bg-dark: #0A2463;
  --page-gdpr-accent-light: #546692; /* Lighter variant of primary for contrast */
  --page-gdpr-accent-dark: #9f7d2a; /* Darker variant of secondary for contrast */
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-dark);
  background-color: var(--page-gdpr-bg-light);
}

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

.page-gdpr__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--page-gdpr-primary-color) 0%, var(--page-gdpr-accent-light) 100%);
  color: var(--page-gdpr-text-light);
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-light);
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__hero-button {
  display: inline-block;
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__hero-button:hover {
  background-color: #f5db9c; /* Lighter shade of secondary color */
  transform: translateY(-3px);
}

.page-gdpr__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--page-gdpr-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr__section a {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

.page-gdpr__section a:hover {
  text-decoration: underline;
}

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

.page-gdpr__section--dark .page-gdpr__section-title {
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__section--dark p {
  color: var(--page-gdpr-text-light);
}

.page-gdpr__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-gdpr__commitment-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(1) brightness(1.5); /* Make icons light for dark background */
}

.page-gdpr__commitment-item h3 {
  font-size: 1.5em;
  color: var(--page-gdpr-secondary-color);
  margin-bottom: 15px;
}

.page-gdpr__commitment-item p {
  font-size: 1em;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__rights-list {
  list-style: disc inside;
  padding-left: 20px;
  margin-top: 20px;
  font-size: 1.1em;
}

.page-gdpr__rights-list li {
  margin-bottom: 10px;
}

.page-gdpr__rights-list li strong {
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__section--cta {
  background: linear-gradient(90deg, var(--page-gdpr-primary-color) 0%, var(--page-gdpr-accent-light) 100%);
  color: var(--page-gdpr-text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-gdpr__cta-content {
  z-index: 1;
  max-width: 600px;
  text-align: left;
}

.page-gdpr__cta-title {
  color: var(--page-gdpr-secondary-color);
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: left;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__cta-button {
  display: inline-block;
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background-color: #f5db9c;
  transform: translateY(-3px);
}

.page-gdpr__cta-image {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 400px;
  height: auto;
  opacity: 0.2;
  filter: grayscale(100%);
  z-index: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .page-gdpr__hero {
    padding: 40px 15px;
  }

  .page-gdpr__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-gdpr__commitment-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__section--cta {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }

  .page-gdpr__cta-content {
    max-width: 100%;
    text-align: center;
  }

  .page-gdpr__cta-title {
    font-size: 2.2em;
    text-align: center;
  }

  .page-gdpr__cta-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 250px;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }

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

  .page-gdpr__hero-button,
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

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

  .page-gdpr__rights-list {
    padding-left: 10px;
  }

  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}