/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent-login: #EA7C07;
  --background-white: #FFFFFF;
  --black-color: #000000; /* Assuming this is the body background from shared.css, so text needs to be light */
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--black-color); /* Match body background from shared.css */
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  display: block;
  /* No filters allowed */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text-dark); /* Dark text for light background */
  background-color: var(--background-white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--secondary-color);
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: var(--secondary-color);
}

.page-gdpr__text-block p,
.page-gdpr__text-block li {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1em;
  color: inherit;
}

.page-gdpr__image-content {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  /* No filters allowed */
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: var(--accent-login);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  background-color: #cc6a00; /* Darker shade of accent-login */
}

.page-gdpr__contact-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #1a7fb8; /* Darker shade of primary color */
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-gdpr__faq-item {
  background-color: var(--background-white);
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-gdpr__dark-section .page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.9);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #f9f9f9;
}

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

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  padding-top: 0;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-gdpr__faq-item:not([open]) .page-gdpr__faq-answer {
  display: none;
}

/* CTA Section */
.page-gdpr__cta-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  display: block;
  /* No filters allowed */
}

.page-gdpr__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}

.page-gdpr__cta-title {
  font-size: clamp(1.5em, 2.5vw, 2.5em);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--secondary-color);
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content,
  .page-gdpr__content-area,
  .page-gdpr__faq-list,
  .page-gdpr__cta-content {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__cta-section {
    padding: 40px 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 5vw, 1.6em);
  }

  .page-gdpr__content-area {
    padding: 30px 20px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image,
  .page-gdpr__image-content,
  .page-gdpr__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Buttons responsive */
  .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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-gdpr__cta-content .page-gdpr__btn-primary {
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Containers for overflow */
  .page-gdpr__section,
  .page-gdpr__hero-section,
  .page-gdpr__cta-section,
  .page-gdpr__content-area,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.1em, 6vw, 1.4em);
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr__cta-title {
    font-size: clamp(1.2em, 5vw, 2em);
  }
}