/* style/gdpr.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --border-color: #e0e0e0;
  --light-bg-color: #f8f9fa;
  --card-bg-color: #ffffff;
  --dark-bg-1: #0d0d0d; /* From shared.css, implies dark background */
}

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

/* Ensure content is not hidden by fixed header */
.page-gdpr__hero-gdpr-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker gradient for better contrast */
  color: var(--text-color-light);
  text-align: center;
}

.page-gdpr__hero-gdpr-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-gdpr__intro-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-gdpr__section {
  padding: 40px 20px;
  background-color: var(--dark-bg-1);
  color: var(--text-color-light);
}

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

.page-gdpr__card {
  background: #1a1a1a; /* Darker card background for dark theme */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 40px;
  margin-bottom: 30px;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--secondary-color); /* Use accent color for titles */
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.page-gdpr__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image {
  flex-shrink: 0;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__image--left {
  width: 40%;
}

.page-gdpr__image--right {
  width: 40%;
}

.page-gdpr__image--full-width {
  width: 100%;
  margin-top: 30px;
}

.page-gdpr__image--center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 60%;
}

.page-gdpr__text-block {
  flex-grow: 1;
  font-size: 1.05em;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: #cccccc;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #cccccc;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-gdpr__list-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--text-color-light);
  margin-bottom: 8px;
}

.page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__contact-info {
  margin-top: 20px;
  text-align: center;
  font-size: 1.1em;
  color: #cccccc;
}

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

.page-gdpr__link-text:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-gdpr__link-text--read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}

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

.page-gdpr__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__blog-post {
  background: #2a2a2a; /* Slightly lighter card for blog posts */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #cccccc;
}

.page-gdpr__blog-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-gdpr__blog-title a {
  color: var(--text-color-light);
  text-decoration: none;
}

.page-gdpr__blog-title a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__blog-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
}

/* CTA Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button--primary {
  background: var(--secondary-color);
  color: var(--text-color-dark);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.page-gdpr__cta-button--primary:hover {
  background: #ffdb58;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.6);
}

.page-gdpr__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-color-light);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  margin-top: 30px;
}

.page-gdpr__cta-button--secondary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.6);
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--dark-bg-1);
  color: var(--text-color-light);
  padding-bottom: 60px;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #2a2a2a; /* Darker background for FAQ answer */
  color: #cccccc;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a; /* Dark background for FAQ question */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light);
}

.page-gdpr__faq-question:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question:active {
  background: #3a3a3a;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light);
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  .page-gdpr__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right,
  .page-gdpr__image--center {
    width: 80%;
    margin-bottom: 20px;
  }

  .page-gdpr__list--grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__blog-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-gdpr-section {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile shared header height */
    padding-bottom: 40px;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__section {
    padding: 20px 15px;
  }

  .page-gdpr__card {
    padding: 25px;
    margin-bottom: 20px;
  }

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

  .page-gdpr__content-wrapper {
    gap: 20px;
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right,
  .page-gdpr__image--center {
    width: 100%;
    max-width: 100% !important; /* Ensure image doesn't overflow */
    height: auto !important;
    margin-bottom: 15px;
  }
  
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__list-item {
    font-size: 0.95em;
  }

  .page-gdpr__list-title {
    font-size: 1.1em;
  }

  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-gdpr__blog-post {
    padding: 20px;
  }

  .page-gdpr__blog-title {
    font-size: 1.2em;
  }

  .page-gdpr__faq-question {
    padding: 15px;
  }

  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }

  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}