/* ===================================
   PRIVACY POLICY PAGE - FAUTE BENDT
   Gebruikt bestaande CSS variabelen en components
   Geïntegreerd met main-optimized.css
   =================================== */

/* PRIVACY HERO SECTION */
.privacy-policy-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
}

.privacy-hero {
  background: linear-gradient(135deg, var(--bordeaux-warm) 0%, var(--bordeaux-deep) 50%, var(--dusty-pink) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.privacy-hero .section-header {
  position: relative;
  z-index: 2;
  text-align: center;
}

.privacy-hero .section-title {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.privacy-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin-bottom: 2rem;
}

.privacy-shield {
  display: inline-block;
  font-size: 1.2em;
  margin-right: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.privacy-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.privacy-updated,
.privacy-compliance {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* PRIVACY NAVIGATION */
.privacy-navigation {
  background: var(--bg-secondary);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.privacy-toc {
  background: var(--bg-primary);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 2rem;
  z-index: 10;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.toc-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
}

.toc-toggle {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 25px;
}

.toc-toggle .toc-text {
  margin-left: 0.5rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.toc-item {
  margin: 0;
}

.toc-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background: var(--bg-secondary);
}

.toc-link:hover {
  background: var(--bordeaux-gradient);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--bordeaux-shadow);
  border-color: var(--bordeaux-warm);
}

.toc-link.active {
  background: var(--gold-gradient);
  color: var(--white);
  box-shadow: var(--gold-shadow);
}

.toc-icon {
  font-size: 1.2em;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.toc-number {
  font-weight: 700;
  margin-right: 0.5rem;
  color: var(--bordeaux-warm);
  flex-shrink: 0;
}

.toc-link:hover .toc-number {
  color: var(--white);
}

.toc-title {
  flex: 1;
  font-weight: 600;
}

/* PRIVACY INTRODUCTION */
.privacy-intro {
  background: var(--bg-primary);
  padding: 3rem 0;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-card {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gold-shadow);
  border-color: var(--gold-warm);
}

.highlight-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.highlight-text {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

/* PRIVACY SECTIONS */
.privacy-section {
  padding: 3rem 0;
  position: relative;
}

.privacy-section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-primary);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  position: relative;
}

.privacy-section-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--bordeaux-warm);
}

.privacy-section-title {
  display: flex;
  align-items: center;
  margin: 0 0 1rem 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.privacy-section-title .section-icon {
  font-size: 1.3em;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.privacy-section-title .section-number {
  color: var(--bordeaux-warm);
  font-weight: 800;
  margin-right: 0.5rem;
}

.section-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.section-updated {
  background: var(--bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-weight: 500;
}

/* PRIVACY SECTION CONTENT */
.privacy-section-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.privacy-section-content h3 {
  color: var(--bordeaux-warm);
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  font-size: 1.3rem;
  border-left: 4px solid var(--bordeaux-warm);
  padding-left: 1rem;
}

.privacy-section-content ul,
.privacy-section-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.privacy-section-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.privacy-section-content p {
  margin-bottom: 1.25rem;
}

.privacy-section-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.privacy-section-content a {
  color: var(--bordeaux-warm);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.privacy-section-content a:hover {
  color: var(--gold-warm);
  text-decoration: underline;
}

/* SECTION FOOTER */
.privacy-section-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* PRIVACY CONTACT SECTION */
.privacy-contact {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.privacy-contact .section-title {
  margin-bottom: 1rem;
}

.privacy-contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.privacy-contact .contact-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.privacy-contact .contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bordeaux-shadow);
  border-color: var(--bordeaux-warm);
}

.privacy-contact .contact-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--bordeaux-warm);
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-address {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
}

.privacy-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.privacy-contact .contact-item .icon {
  font-size: 1.3rem;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  color: var(--bordeaux-warm);
}

.privacy-contact .contact-item a {
  color: var(--bordeaux-warm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.privacy-contact .contact-item a:hover {
  color: var(--gold-warm);
  text-decoration: underline;
}

.dpo-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.privacy-response {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bordeaux-gradient);
  color: var(--white);
  border-radius: 1rem;
  font-size: 1.1rem;
}

/* PRIVACY ACTIONS */
.privacy-actions {
  background: var(--bg-primary);
  padding: 3rem 0;
}

.privacy-actions .hero-buttons {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.privacy-actions .btn {
  min-width: 180px;
}

/* READING PROGRESS BAR */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(125, 44, 64, 0.2);
  z-index: 1000;
  pointer-events: none;
}

.reading-progress-bar {
  height: 100%;
  background: var(--bordeaux-gradient);
  width: 0%;
  transition: width 0.3s ease;
}

/* PRIVACY EMPTY STATE */
.privacy-empty {
  background: var(--bg-secondary);
  padding: 4rem 0;
  text-align: center;
}

.privacy-empty .section-header h2 {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.privacy-empty .section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .privacy-toc {
    position: static;
    margin-bottom: 2rem;
  }
  
  .toc-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .section-content-wrapper {
    padding: 2rem;
  }
  
  .privacy-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 3rem 0;
  }
  
  .privacy-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .toc-toggle {
    display: flex;
    align-items: center;
  }
  
  .toc-list {
    grid-template-columns: 1fr;
    display: none;
  }
  
  .toc-list.show {
    display: grid;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
  }
  
  .privacy-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .section-content-wrapper {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  
  .privacy-section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  
  .privacy-section-content {
    font-size: 1rem;
  }
  
  .privacy-actions .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .privacy-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .privacy-hero {
    padding: 2rem 0;
  }
  
  .privacy-toc {
    padding: 1.5rem;
  }
  
  .toc-header h2 {
    font-size: 1.2rem;
  }
  
  .toc-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .section-content-wrapper {
    padding: 1rem;
  }
  
  .privacy-section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  
  .privacy-section-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem 0;
  }
  
  .privacy-contact .contact-card {
    padding: 1.5rem;
  }
  
  .privacy-response {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* ANIMATIONS */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .privacy-shield {
    animation: none;
  }
  
  .privacy-hero::before {
    animation: none;
  }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
  .privacy-section-content,
  .section-content-wrapper {
    border: 2px solid var(--text-primary);
  }
  
  .toc-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
  }
}

/* PRINT STYLES */
@media print {
  .privacy-hero,
  .privacy-navigation,
  .privacy-actions,
  .back-to-top,
  .reading-progress {
    display: none !important;
  }
  
  .privacy-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .section-content-wrapper {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    margin-bottom: 2rem;
  }
  
  .privacy-section-content {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  
  .privacy-contact .contact-item a {
    color: #000 !important;
  }
}

/* FOCUS STATES - ACCESSIBILITY */
.toc-link:focus,
.back-to-top:focus,
.privacy-actions .btn:focus {
  outline: 3px solid var(--gold-warm);
  outline-offset: 2px;
}

/* PERFORMANCE OPTIMIZATIONS */
.privacy-section,
.section-content-wrapper,
.highlight-card,
.contact-card {
  will-change: transform;
}

/* ===================================
   EINDE PRIVACY.CSS
   =================================== */

