/* style/gdpr.css */

/* Custom Colors */
:root {
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the GDPR page content */
/* body already has padding-top from shared.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--page-gdpr-text-main); /* Light text on dark body background */
  background-color: var(--page-gdpr-background); /* Dark background from shared */
  line-height: 1.6;
  font-size: 16px;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space between image and content, no padding-top: var(--header-offset) */
  padding-top: 10px; /* Small top padding */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%; /* Ensure image fits */
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and text content */
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any subtle background elements */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
  /* No fixed font-size, rely on weight, line-height, max-width */
}

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

/* Sections */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-gdpr-divider);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--page-gdpr-gold); /* Gold for main titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 1.7em;
  color: var(--page-gdpr-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-gdpr-glow); /* Green for list checkmark */
  font-weight: bold;
}

/* Images within content */
.page-gdpr__image-content {
  width: 100%;
  height: auto;
  max-width: 800px; /* Max width for content images */
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main); /* Light text on button gradient */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
  background: none;
  color: var(--page-gdpr-glow); /* Green text for secondary button */
  border: 2px solid var(--page-gdpr-glow);
  margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
  background: var(--page-gdpr-glow);
  color: var(--page-gdpr-background); /* Dark text on green hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Contact Info */
.page-gdpr__contact-details {
  background-color: var(--page-gdpr-card-bg); /* Darker card background */
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-item strong {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-item a {
  color: var(--page-gdpr-glow);
  text-decoration: none;
}

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

/* FAQ Section (using <details>/<summary>) */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg); /* Darker card background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-gdpr-text-main); /* Main text color for question */
  list-style: none; /* Remove default marker */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none; /* Disable text selection on iOS */
  -khtml-user-select: none; /* Disable text selection on Safari */
  -moz-user-select: none; /* Disable text selection on Firefox */
  -ms-user-select: none; /* Disable text selection on IE/Edge */
  user-select: none; /* Disable text selection */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: var(--page-gdpr-glow); /* Green for toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open, handled by JS */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: var(--page-gdpr-text-secondary);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-image {
    margin-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em); /* Clamp for h1 on mobile */
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
    margin-left: 0 !important; /* Remove margin for single column layout */
    margin-bottom: 15px; /* Add vertical space between buttons */
  }
  
  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important; /* Adjust gap for vertical stack */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add horizontal padding to button container */
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__contact-details { /* Also apply to contact-details as it's a container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsiveness (if any, though not in this specific page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-gdpr__video-section {
    padding-top: 10px !important; /* body already has --header-offset */
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
}

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}