/* style/gdpr.css */

:root {
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
}

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

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

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: 100px; /* Space for image above */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
  min-width: 180px;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background: rgba(var(--page-gdpr-border), 0.2);
  transform: translateY(-2px);
}

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

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

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

.page-gdpr__text-block {
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-gdpr__dark-bg .page-gdpr__text-block {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__rights-list,
.page-gdpr__data-types-list,
.page-gdpr__data-sharing-list,
.page-gdpr__security-measures-list,
.page-gdpr__cookie-types-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-title {
  font-size: 1.4em;
  color: var(--page-gdpr-text-main);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__list-item p {
  color: var(--page-gdpr-text-secondary);
  font-size: 1em;
  text-align: justify;
}

.page-gdpr__data-types-list li,
.page-gdpr__data-sharing-list li,
.page-gdpr__security-measures-list li,
.page-gdpr__cookie-types-list li {
  background-color: var(--page-gdpr-card-bg);
  border-left: 4px solid var(--page-gdpr-border);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 0 8px 8px 0;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__data-types-list strong,
.page-gdpr__data-sharing-list strong,
.page-gdpr__security-measures-list strong,
.page-gdpr__cookie-types-list strong {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__text-link {
  color: var(--page-gdpr-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: var(--page-gdpr-glow);
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  background-color: var(--page-gdpr-deep-green);
  border-bottom: 1px solid var(--page-gdpr-divider);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-border);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-gold);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

.page-gdpr__contact-list {
  margin-top: 20px;
  text-align: center;
}

.page-gdpr__contact-list li {
  color: var(--page-gdpr-text-secondary);
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-list a {
  color: var(--page-gdpr-gold);
  text-decoration: none;
}

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

.page-gdpr__cta-buttons--centered {
  margin-top: 40px;
}

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

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

  .page-gdpr__hero-content {
    margin-top: 50px;
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    min-width: unset;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item p,
  .page-gdpr__data-types-list li,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.3em;
  }

  .page-gdpr__list-item,
  .page-gdpr__data-types-list li,
  .page-gdpr__data-sharing-list li,
  .page-gdpr__security-measures-list li,
  .page-gdpr__cookie-types-list li {
    padding: 15px;
  }

  .page-gdpr__list-title {
    font-size: 1.2em;
  }

  /* Ensure all image containers and sections are responsive */
  .page-gdpr__hero-image-container,
  .page-gdpr__image-content,
  .page-gdpr__commitment-section,
  .page-gdpr__what-is-gdpr-section,
  .page-gdpr__commitment-details-section,
  .page-gdpr__your-rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__data-security-section,
  .page-gdpr__cookie-policy-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}