/* style/gdpr.css */

/* Global styles for page-gdpr content area */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
}

/* Fixed Header & Main Spacing: body handles padding-top */
/* No padding-top: var(--header-offset) here to avoid double spacing */

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px; /* Small top padding, more bottom padding */
  background-color: #08160F; /* Ensure hero section uses the dark background */
  overflow: hidden; /* Ensure no content overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  color: #F2FFF6;
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: #08160F; /* Default content section background */
  color: #F2FFF6;
}

.page-gdpr__dark-section {
  background-color: #11271B; /* Card BG for alternating sections */
  color: #F2FFF6;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Gold for main titles */
}

.page-gdpr__section-title--light {
  color: #F2C14E; /* Gold for titles on dark background */
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #57E38D; /* Glow color for sub-titles */
}

.page-gdpr__sub-title--light {
  color: #57E38D; /* Glow color for sub-titles on dark background */
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-gdpr__paragraph--light {
  color: #A7D9B8; /* Secondary text color for paragraphs on dark background */
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22C768; /* Auxiliary color for list markers */
  font-weight: bold;
}

.page-gdpr__list-item .page-gdpr__sub-title {
  margin-top: 0;
  margin-bottom: 5px;
}

.page-gdpr__image-wrapper {
  margin-top: 30px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-gdpr__contact-link {
  color: #22C768; /* Auxiliary color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

.page-gdpr__policy-links {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-gdpr__policy-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.page-gdpr__policy-item:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

.page-gdpr__policy-link {
  color: #F2FFF6; /* Main text color */
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.page-gdpr__policy-link:hover {
  color: #22C768; /* Auxiliary color on hover */
}

.page-gdpr__cta-wrapper {
  margin-top: 40px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__last-section {
  padding-bottom: 80px;
}

/* FAQ styles */
.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  background-color: #0A4B2C; /* Deep Green for question header */
}

.page-gdpr__faq-question:hover {
  background-color: #13994A; /* Slightly lighter green on hover */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold color for toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #11A84E; /* Main color when open */
}

.page-gdpr__faq-answer {
  padding: 15px 20px;
  color: #A7D9B8; /* Secondary text color */
  border-top: 1px solid #1E3A2A; /* Divider color */
}

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

/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary {
  list-style: none;
}

/* Ensure links in FAQ answer are styled correctly */
.page-gdpr__faq-answer .page-gdpr__contact-link {
  color: #22C768;
}
.page-gdpr__faq-answer .page-gdpr__contact-link:hover {
  text-decoration: underline;
}

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

  .page-gdpr__hero-section {
    padding: 10px 0 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    padding: 0 10px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__list-item {
    padding-left: 20px;
  }

  .page-gdpr__policy-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-gdpr__policy-item {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 12px 15px;
  }

  /* Mobile image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile image container responsive */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsive */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .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;
  }
  
  /* Button container mobile adaptation */
  .page-gdpr__cta-wrapper,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* If buttons use flex layout, ensure wrapping on mobile */
  .page-gdpr__cta-wrapper {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-gdpr__faq-question {
    padding: 12px 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 1rem;
  }
  .page-gdpr__faq-toggle {
    font-size: 1.2rem;
  }
  .page-gdpr__faq-answer {
    padding: 12px 15px;
  }
}