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

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Assuming dark body background, use light text */
  background-color: var(--background);
  overflow-x: hidden; /* Prevent horizontal scroll for the main page */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Stacks image above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--deep-green); /* Use a dark green for hero background */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Spacing between image and text */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

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

/* Sections */
.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--background); /* Default section background */
}

.page-gdpr__section:nth-of-type(even) {
  background-color: var(--card-bg); /* Alternate background for readability */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 800px; /* Example max-width for content images */
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-gdpr__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.page-gdpr__link {
  color: var(--glow); /* Using Glow for links */
  text-decoration: underline;
}

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

/* Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient); /* Custom button gradient */
  color: var(--text-main); /* Light text for dark button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.page-gdpr__cta-final .page-gdpr__cta-content {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: var(--deep-green); /* Darker background for question */
  color: var(--text-main);
  list-style: none; /* For details summary */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate + to become - */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider); /* Separator for answer */
}

.page-gdpr__faq-answer p {
  margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-gdpr__description {
    font-size: 1em;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 0.95em;
  }

  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    box-sizing: border-box !important;
  }

  /* Images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for mobile overflow prevention */
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item,
  .page-gdpr__cta-final .page-gdpr__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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