/* style/gdpr.css */

/* --- General Styles --- */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__link {
  color: #2AD16F; /* A bright green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Background */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* --- List Styles --- */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-gdpr__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

/* --- Content Image --- */
.page-gdpr__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- FAQ Section --- */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  font-weight: bold;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1A3026; /* Slightly darker for hover */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom-color: #2E7A4E; /* Border */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

.page-gdpr__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

/* --- Protection List --- */
.page-gdpr__protection-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.page-gdpr__protection-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__protection-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__protection-item img {
  width: 200px; /* Display size, at least 200px */
  height: 200px; /* Display size, at least 200px */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__protection-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

/* --- Contact List --- */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
}

/* --- CTA Wrapper --- */
.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__protection-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item p,
  .page-gdpr__contact-item,
  .page-gdpr__faq-answer p {
    font-size: 1em;
  }

  .page-gdpr__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

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

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

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

  .page-gdpr__cta-wrapper {
    padding: 0 15px; /* Add padding to wrapper for smaller screens */
  }

  .page-gdpr__protection-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-gdpr__protection-item img {
     /* Adjust for mobile, still > 200px if container allows, but responsive */
    
  }

  .page-gdpr__list-item,
  .page-gdpr__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Force responsive for all images */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force responsive for all image containers */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific padding for sections if needed */
  .page-gdpr__section--intro .page-gdpr__container,
  .page-gdpr__section--principles .page-gdpr__container,
  .page-gdpr__section--rights .page-gdpr__container,
  .page-gdpr__section--protection .page-gdpr__container,
  .page-gdpr__section--cookies .page-gdpr__container,
  .page-gdpr__section--contact .page-gdpr__container,
  .page-gdpr__section--commitment .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__list-title {
    font-size: 1.3em;
  }
  .page-gdpr__protection-title {
    font-size: 1.1em;
  }
}