/* style/gdpr.css */
/*
  Body background color: #0a0a0a (dark)
  Main text color for .page-gdpr should be #ffffff
*/

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --section-padding-y: 60px;
  --container-max-width: 1200px;
}

.page-gdpr {
  color: var(--light-text-color); /* Main text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding-y) 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to allow text to be legible */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--light-text-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-gdpr__intro-text {
  font-size: 1.15rem;
  color: var(--light-text-color);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid var(--primary-color);
  font-size: 1.05rem;
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%); /* Placeholder for darken */
  transform: translateY(-2px);
}

.page-gdpr__content-area, 
.page-gdpr__commitment-section, 
.page-gdpr__data-collection-section, 
.page-gdpr__data-usage-section, 
.page-gdpr__data-sharing-section, 
.page-gdpr__rights-section, 
.page-gdpr__data-security-section, 
.page-gdpr__cookies-section, 
.page-gdpr__contact-section, 
.page-gdpr__faq-section {
  padding: var(--section-padding-y) 20px;
}

.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Dark gray for light-bg sections */
  color: var(--light-text-color);
}

.page-gdpr__dark-bg {
  background-color: #0d0d0d; /* Slightly darker gray for dark-bg sections */
  color: var(--light-text-color);
}

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

.page-gdpr__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

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

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-text-color);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  display: block;
}

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__link:hover {
  color: lighten(var(--primary-color), 10%); /* Placeholder for lighten */
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid var(--primary-color);
  font-size: 1.05rem;
  margin-top: 20px;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  transform: translateY(-2px);
}

.page-gdpr__contact-info {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--light-text-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.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: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

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

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

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

  .page-gdpr__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

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

  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .page-gdpr__btn-primary {
    margin-bottom: 10px;
  }

  .page-gdpr__content-area, 
  .page-gdpr__commitment-section, 
  .page-gdpr__data-collection-section, 
  .page-gdpr__data-usage-section, 
  .page-gdpr__data-sharing-section, 
  .page-gdpr__rights-section, 
  .page-gdpr__data-security-section, 
  .page-gdpr__cookies-section, 
  .page-gdpr__contact-section, 
  .page-gdpr__faq-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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