/* style/gdpr.css */
.page-gdpr {
  color: #F2FFF6; /* Text Main color for overall page on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Background color */
}

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

.page-gdpr__section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for default sections */
}

.page-gdpr__dark-bg {
  background-color: #11271B; /* Card BG for dark sections */
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, ensure text is not on image */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  z-index: 10;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-gdpr__highlight {
  color: #57E38D; /* Glow color */
  font-weight: bold;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main for button text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #57E38D; /* Glow color for secondary button text */
  border: 2px solid #2E7A4E; /* Border color */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

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

.page-gdpr__principle-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-gdpr__principle-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__rights-list,
.page-gdpr__measures-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #F2C14E; /* Gold color as accent */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__list-item strong {
  color: #F2C14E; /* Gold color */
}

.page-gdpr__right-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-gdpr__right-title {
  font-size: 1.25rem;
  color: #57E38D; /* Glow color */
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-gdpr__link {
  color: #57E38D; /* Glow color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #F2C14E; /* Gold color */
}

/* FAQ Styles */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-item[open] {
  background-color: #11271B; /* Card BG when open */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

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

  .page-gdpr__hero-content {
    margin-top: -50px; /* Adjust overlap for mobile */
    padding: 20px;
  }

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

  .page-gdpr__subtitle {
    font-size: 1rem;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }

  .page-gdpr__principle-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-bottom: 0;
  }

  .page-gdpr__contact-section .page-gdpr__btn-secondary {
    margin-top: 20px;
  }

  .page-gdpr__hero-image,
  .page-gdpr__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__principle-item,
  .page-gdpr__right-item,
  .page-gdpr__list-item,
  .page-gdpr__faq-item,
  .page-gdpr__faq-question {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__faq-item .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no image filters are used */
.page-gdpr img {
  filter: none; /* Explicitly ensure no filters */
}

/* For the hero section to show image on top, content below, on smaller screens */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
  }
  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-gdpr__hero-content {
    margin-top: 0; /* Remove negative margin on mobile to prevent overlap */
    padding: 20px 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    background-color: #11271B; /* Solid background on mobile */
    box-shadow: none;
  }
}