/* 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;
  padding-top: 0; /* body already handles --header-offset */
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

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

.page-gdpr__cta-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__cta-button--secondary {
  background: #11271B; /* Card BG from custom palette */
  color: #57E38D; /* Glow color for text */
  border: 2px solid #2E7A4E; /* Border from custom palette */
}

.page-gdpr__cta-button--secondary:hover {
  background: #2E7A4E; /* Border color on hover */
  color: #F2FFF6;
  transform: translateY(-2px);
}

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

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 30px;
  text-align: center;
}

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

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

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

.page-gdpr__list-item strong {
  color: #F2FFF6;
}

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

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

.page-gdpr__card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #A7D9B8; /* Secondary text color */
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 0.95em;
}

.page-gdpr__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: #2AD16F; /* Lighter green on hover */
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Main text color */
  font-weight: 600;
  font-size: 1.1em;
  list-style: none; /* For <details> summary */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 0.95em;
  line-height: 1.5;
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

.page-gdpr__section--contact {
  text-align: center;
  padding-bottom: 80px;
}

.page-gdpr__contact-info {
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #F2FFF6;
}

/* 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: 2em; /* Smaller H1 for mobile */
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__cta-button,
  .page-gdpr__cta-button--primary,
  .page-gdpr__cta-button--secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }

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

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