/* style/gdpr.css */
/* Custom Colors */
:root {
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Default light text for dark background */
  background-color: var(--page-gdpr-background);
}

/* Ensure the main content area has appropriate padding */
.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;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* General Section Styling */
.page-gdpr__content-section {
  padding: 80px 0;
  background-color: var(--page-gdpr-background);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__content-section.page-gdpr__light-bg {
  background-color: #f8f8f8; /* A very light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__content-section.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem); /* Responsive font size for H2 */
  font-weight: 600;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-gdpr-button-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__sub-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem); /* Responsive font size for H3 */
  font-weight: 600;
  color: inherit;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: inherit;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-gdpr-glow);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

/* Image Styling */
.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__image--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  box-shadow: 0 0 15px var(--page-gdpr-glow);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-glow);
  border: 2px solid var(--page-gdpr-glow);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-glow);
  color: var(--page-gdpr-deep-green);
  transform: translateY(-2px);
}

.page-gdpr__btn-primary--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px; /* Limit width for center button */
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 80px 0;
  background-color: var(--page-gdpr-light-bg); /* Use light background for FAQ for better contrast */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.15rem;
  color: #333333;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: #f0f0f0;
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

/* Contact Section */
.page-gdpr__contact-section {
  padding: 80px 0;
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
  text-align: center;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 600px;
}

.page-gdpr__contact-item {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.page-gdpr__contact-item strong {
  color: var(--page-gdpr-gold);
  display: block;
  margin-bottom: 5px;
}

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

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

.page-gdpr__link:hover {
  color: var(--page-gdpr-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 400px;
  }

  .page-gdpr__hero-content {
    margin-top: -60px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .page-gdpr__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-gdpr__hero-image {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-gdpr__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__content-section {
    padding: 50px 0;
  }

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

  .page-gdpr__heading {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__sub-heading {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-item summary,
  .page-gdpr__faq-answer {
    font-size: 1rem;
  }

  .page-gdpr__faq-item summary {
    padding: 15px 20px;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.3rem;
  }

  /* 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image {
    max-height: 250px;
  }

  .page-gdpr__hero-content {
    margin-top: -30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }

  .page-gdpr__hero-description {
    font-size: 0.95rem;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .page-gdpr__heading {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  }

  .page-gdpr__sub-heading {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-item summary,
  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }

  .page-gdpr__faq-item summary {
    padding: 12px 15px;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.2rem;
  }
}