/* style/gdpr.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #002244;
  --border-color: #e0e0e0;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-dark); /* Fallback for image */
  color: var(--text-light);
}

.page-gdpr__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit height for aesthetic */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 51, 102, 0.7); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image slightly */
}

.page-gdpr__main-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__introduction p, .page-gdpr__principles p, .page-gdpr__user-rights p, .page-gdpr__data-security p, .page-gdpr__dpo-cookies p, .page-gdpr__conclusion p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__list li {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

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

.page-gdpr__list h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__list p {
  margin-bottom: 0;
  font-size: 1em;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-height: 250px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
  background: #ffdb4d; /* Lighter secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__cta-button--secondary:hover {
  background: #004488; /* Darker primary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__faq {
  background-color: #eef2f1;
  padding-bottom: 80px;
}

.page-gdpr__faq .faq-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__faq .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--secondary-color);
}

.page-gdpr__faq .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
}

.page-gdpr__faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-gdpr__faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-gdpr__faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-gdpr__faq .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px 20px;
}

.page-gdpr__faq .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
  text-align: justify;
}

.page-gdpr__conclusion {
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-gdpr__conclusion p {
  color: var(--text-light);
}

.page-gdpr__conclusion .page-gdpr__section-title::after {
  background-color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }
  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__list li {
    padding: 15px;
  }
  .page-gdpr__list h3 {
    font-size: 1.2em;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-gdpr__faq .faq-question {
    padding: 15px 20px;
  }
  .page-gdpr__faq .faq-question h3 {
    font-size: 1em;
  }
  .page-gdpr__faq .faq-toggle {
    font-size: 20px;
  }
  .page-gdpr__faq .faq-item.active .faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-content {
    margin-top: -40px;
  }
  .page-gdpr__main-title {
    font-size: 1.7em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__list li {
    padding: 12px;
  }
  .page-gdpr__list h3 {
    font-size: 1.1em;
  }
  .page-gdpr__faq .faq-question {
    padding: 12px 15px;
  }
  .page-gdpr__faq .faq-question h3 {
    font-size: 0.95em;
  }
  .page-gdpr__faq .faq-toggle {
    font-size: 18px;
  }
  .page-gdpr__faq .faq-item.active .faq-answer {
    padding: 8px 15px 12px;
  }
}