/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-gdpr__hero-image-wrapper {
  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;
  opacity: 0.3;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #F2FFF6;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color from custom palette */
  color: #ffffff;
  border: none;
}

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

/* General Section Styles */
.page-gdpr__section {
  padding: 80px 0;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-gdpr__dark-section {
  background-color: #11271B; /* Card BG from custom palette */
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6;
}

.page-gdpr__subsection-title {
  font-size: clamp(1.4em, 2vw, 2em);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #2AD16F; /* Highlight with a vibrant green */
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8;
}

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

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

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green from custom palette */
}

.page-gdpr__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #A7D9B8;
}

.page-gdpr__faq-answer p {
  margin-top: 10px;
}

/* Details element specific styles for FAQ */
details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    min-height: 400px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

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

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

  .page-gdpr__subsection-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image,
  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__faq-item,
  .page-gdpr__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-gdpr__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
}