/* style/gdpr.css */

:root {
  --gdpr-primary-color: #11A84E;
  --gdpr-secondary-color: #22C768;
  --gdpr-background-dark: #08160F;
  --gdpr-card-background: #11271B;
  --gdpr-text-main: #F2FFF6;
  --gdpr-text-secondary: #A7D9B8;
  --gdpr-border-color: #2E7A4E;
  --gdpr-divider-color: #1E3A2A;
  --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
  background-color: var(--gdpr-background-dark);
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  color: var(--gdpr-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gdpr-btn-gradient);
  color: var(--gdpr-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--gdpr-text-main);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

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

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

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

.page-gdpr__list-item {
  background-color: var(--gdpr-card-background);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  color: var(--gdpr-text-main);
}

.page-gdpr__list-title {
  font-size: 1.3em;
  color: var(--gdpr-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__list-description {
  font-size: 0.95em;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
}

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

.page-gdpr__link {
  color: var(--gdpr-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--gdpr-primary-color);
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-background);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--gdpr-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--gdpr-text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--gdpr-primary-color), 0.1);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--gdpr-text-secondary);
  max-height: 0; /* Default for JS-driven FAQ */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer { /* For details/summary */
  max-height: 1000px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
  }

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

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

  .page-gdpr__section {
    padding: 30px 15px;
  }

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

  .page-gdpr__title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-gdpr__paragraph {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto;
  }

  .page-gdpr__list-item {
    padding: 15px;
  }

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

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

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