/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #1a1a1a; /* Assuming var(--black-color) from shared.css is dark */
  --button-login-color: #EA7C07;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text as body background is dark */
  background-color: var(--background-dark); /* This should align with shared.css body background */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-gdpr__description-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.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);
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-light); /* Light background for content */
  color: var(--text-dark); /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -40px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 3;
}

.page-gdpr__section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-gdpr__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

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

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

.page-gdpr__list-item strong {
  color: var(--primary-color);
}

.page-gdpr__list-item a {
  color: var(--primary-color);
  text-decoration: none;
}

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

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

.page-gdpr__faq-section .page-gdpr__section-title {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  margin-bottom: 40px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.02);
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 1.8rem;
  }
  .page-gdpr__content-area {
    padding: 40px 20px;
  }
}

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

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

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__description-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
    margin-top: -30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

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

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

  .page-gdpr__list {
    margin-left: 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__image-container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__faq-answer {
    padding: 12px 20px 15px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .page-gdpr__section-title {
    font-size: 1.3rem;
  }
  .page-gdpr__hero-section {
    padding-bottom: 30px;
  }
  .page-gdpr__content-area {
    margin-top: -20px;
  }
}