/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color-custom: #000000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

/* Ensure body padding-top is handled by shared.css to avoid double spacing */

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header-offset */
  background-color: var(--black-color-custom);
  color: var(--text-light);
}

.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;
  border-radius: 8px;
  margin-bottom: 30px;
}

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

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-gdpr__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-gdpr__content-section {
  padding: 60px 20px;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-gdpr__text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Color contrast adjustments for sections */
.page-gdpr__dark-bg {
  background-color: var(--black-color-custom);
  color: var(--text-light);
}

.page-gdpr__light-bg {
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title {
  color: var(--text-dark);
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: var(--secondary-color);
}

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

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--black-color-custom);
  color: var(--text-light);
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--secondary-color);
  list-style: none;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent text from being target for click */
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle from being target for click */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page-gdpr__cta-container {
  max-width: 800px;
}

.page-gdpr__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-gdpr__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-dark);
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-gdpr__main-title {
    font-size: 2rem;
  }

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

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

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

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding: 30px 15px;
  }

  .page-gdpr__container {
    padding: 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

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

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

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-gdpr__section, 
  .page-gdpr__card, 
  .page-gdpr__container, 
  .page-gdpr__hero-section, 
  .page-gdpr__content-section, 
  .page-gdpr__faq-section, 
  .page-gdpr__cta-section, 
  .page-gdpr__hero-image-wrapper, 
  .page-gdpr__image-container,
  .page-gdpr__cta-container,
  .page-gdpr__hero-buttons,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Add specific padding for mobile content if needed, but container already handles it */
  .page-gdpr__content-section .page-gdpr__container,
  .page-gdpr__faq-section .page-gdpr__container,
  .page-gdpr__cta-section .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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