/* style/gdpr-compliance.css */

:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --dark-bg-1: #0d0d0d; /* Assuming this is a dark background from shared.css */
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-light: #e0e0e0;
    --bg-light: #f9f9f9;
}

.page-gdpr-compliance {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-1);
}

.page-gdpr-compliance__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: 120px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #0d0d0d); /* Blend with dark background */
    color: var(--text-light);
}

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

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

.page-gdpr-compliance__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-gdpr-compliance__hero-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr-compliance__hero-description a:hover {
    text-decoration: underline;
}

.page-gdpr-compliance__content-section {
    padding: 60px 20px;
    background: var(--dark-bg-1);
    color: var(--text-light);
}

.page-gdpr-compliance__content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-gdpr-compliance__card {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-gdpr-compliance__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-gdpr-compliance__card p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 18px;
    color: var(--text-light);
}

.page-gdpr-compliance__card p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr-compliance__card p a:hover {
    text-decoration: underline;
}

.page-gdpr-compliance__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-light);
}

.page-gdpr-compliance__list li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-gdpr-compliance__list li strong {
    color: var(--secondary-color);
}

.page-gdpr-compliance__cta-container {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-gdpr-compliance__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr-compliance__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-gdpr-compliance__btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr-compliance__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-gdpr-compliance__faq-section {
    margin-top: 60px;
}

.page-gdpr-compliance__faq-section .page-gdpr-compliance__section-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr-compliance__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter for contrast */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr-compliance__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light);
}

.page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}

.page-gdpr-compliance__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-gdpr-compliance__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-gdpr-compliance__faq-question:active {
  background: rgba(255, 255, 255, 0.3);
}

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

.page-gdpr-compliance__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr-compliance__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr-compliance__section-title {
        font-size: 1.8em;
    }
    .page-gdpr-compliance__card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr-compliance__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-gdpr-compliance__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr-compliance__hero-description {
        font-size: 1em;
    }
    .page-gdpr-compliance__content-section {
        padding: 40px 15px;
    }
    .page-gdpr-compliance__card {
        padding: 25px;
        margin-bottom: 30px;
    }
    .page-gdpr-compliance__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-gdpr-compliance__card p,
    .page-gdpr-compliance__list li {
        font-size: 0.95em;
    }
    .page-gdpr-compliance__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr-compliance__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    .page-gdpr-compliance__faq-question h3 {
      font-size: 1em;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    .page-gdpr-compliance__faq-toggle {
      margin-left: 10px;
      width: 28px;
      height: 28px;
      font-size: 24px;
    }
    .page-gdpr-compliance__faq-answer {
      padding: 0 15px;
    }
    .page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-answer {
      padding: 15px !important;
    }
    .page-gdpr-compliance img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-gdpr-compliance__section,
    .page-gdpr-compliance__card,
    .page-gdpr-compliance__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-gdpr-compliance__hero-section {
        padding-top: 140px !important; /* Mobile: Ensure it overrides desktop padding */
    }
}