/* Privacy Policy Page - spherebox Specifieke Styling */

/* Policy Hero Section */
.policy-hero {
  background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
    url("../assets/sfeer-expotuin.webp");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.policy-hero .hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  z-index: 2;
}

.policy-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  color: var(--ivory-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.policy-hero .hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: rgba(249, 247, 243, 0.9);
  margin-bottom: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-family: var(--font-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Policy Content Section */
.policy-section {
  padding: clamp(6rem, 10vw, 8rem) 0;
  background: var(--ivory-white);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  line-height: 1.8;
}

.policy-intro {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(184, 167, 140, 0.3);
}

.policy-intro .lead {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--warm-taupe);
  font-family: var(--font-secondary);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.policy-intro p {
  color: var(--antique-gold);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 300;
  margin: 0;
}

/* Policy Content Styling */
.policy-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--deep-black);
  margin-top: clamp(2.5rem, 5vw, 3rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.5px;
  border-bottom: 2px solid var(--antique-gold);
  padding-bottom: 0.5rem;
}

.policy-content h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--deep-black);
  margin-top: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: -0.3px;
}

.policy-content h4 {
  font-family: var(--font-secondary);
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  color: var(--deep-black);
  margin-top: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
}

.policy-content p {
  color: var(--warm-taupe);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-family: var(--font-secondary);
}

.policy-content ul,
.policy-content ol {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding-left: clamp(1.5rem, 3vw, 2rem);
}

.policy-content li {
  color: var(--warm-taupe);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 0.8rem;
  font-family: var(--font-secondary);
  line-height: 1.7;
}

.policy-content li strong {
  color: var(--deep-black);
  font-weight: 300;
}

.policy-content a {
  color: var(--antique-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.policy-content a:hover {
  color: var(--deep-black);
}

/* Special styling for privacy links */
.privacy-link {
  color: var(--antique-gold);
  text-decoration: underline;
  font-weight: 300;
  transition: all 0.3s ease;
}

.privacy-link:hover {
  color: var(--deep-black);
  text-decoration: none;
}

/* Contact Info Box */
.contact-info {
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 8px;
  margin: clamp(2rem, 4vw, 3rem) 0;
  border-left: 4px solid var(--antique-gold);
}

.contact-info p {
  margin-bottom: 0.8rem;
  color: var(--deep-black);
  font-weight: 300;
}

.contact-info strong {
  color: var(--deep-black);
  font-weight: 300;
}

.contact-info a {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--deep-black);
  text-decoration: underline;
}

/* Policy Footer */
.policy-footer {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(184, 167, 140, 0.3);
  text-align: center;
}

.policy-footer p {
  color: var(--antique-gold);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-style: italic;
  margin: 0;
}

/* Cookie Table Styling */
.cookie-table {
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory-white);
  font-family: var(--font-secondary);
}

.cookie-table th,
.cookie-table td {
  padding: clamp(0.8rem, 2vw, 1rem);
  text-align: left;
  border-bottom: 1px solid rgba(184, 167, 140, 0.2);
}

.cookie-table th {
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  font-weight: 300;
  color: var(--deep-black);
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-table td {
  color: var(--warm-taupe);
  font-size: clamp(0.9rem, 2vw, 1rem);
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table tr:hover {
  background: rgba(201, 166, 107, 0.05);
}

/* Responsive Design for Policy Pages */

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .policy-content {
    max-width: 900px;
  }

  .policy-intro {
    margin-bottom: clamp(4rem, 6vw, 5rem);
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .policy-content {
    max-width: 1000px;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .policy-section {
    padding: clamp(5rem, 8vw, 7rem) 0;
  }

  .policy-intro {
    margin-bottom: clamp(3rem, 5vw, 4rem);
  }

  .cookie-table {
    font-size: 0.9rem;
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
  .policy-hero {
    height: 50vh;
    min-height: 350px;
  }

  .policy-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
  }

  .policy-intro {
    margin-bottom: clamp(2.5rem, 5vw, 3rem);
    padding-bottom: clamp(1.5rem, 3vw, 2rem);
  }

  .contact-info {
    padding: clamp(1.5rem, 3vw, 2rem);
    margin: clamp(1.5rem, 3vw, 2rem) 0;
  }

  .cookie-table {
    font-size: 0.85rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: clamp(0.6rem, 1.5vw, 0.8rem);
  }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .policy-content {
    padding: 0 1rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .cookie-table {
    font-size: 0.8rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.6rem;
  }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
  .privacy-link,
  .contact-info a {
    transition: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .policy-content h2 {
    border-bottom-color: var(--deep-black);
  }

  .contact-info {
    border-left-color: var(--deep-black);
    border: 2px solid var(--deep-black);
  }

  .cookie-table {
    border: 2px solid var(--deep-black);
  }

  .cookie-table th,
  .cookie-table td {
    border-color: var(--deep-black);
  }
}

/* Print Styles */
@media print {
  .policy-hero {
    display: none !important;
  }

  .policy-section {
    padding: 2rem 0 !important;
  }

  .policy-content {
    max-width: none !important;
    padding: 0 !important;
  }

  .contact-info {
    background: white !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }

  .cookie-table {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  .policy-content a {
    color: black !important;
    text-decoration: underline !important;
  }
}

/* Focus States for Accessibility */
.privacy-link:focus,
.contact-info a:focus {
  outline: 3px solid var(--antique-gold);
  outline-offset: 2px;
}

/* Cookie consent specific styling */
.cookie-consent-notice {
  background: rgba(201, 166, 107, 0.1);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 8px;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  border-left: 4px solid var(--antique-gold);
}

.cookie-consent-notice p {
  margin-bottom: 0.8rem;
  color: var(--deep-black);
  font-weight: 300;
}

.cookie-consent-notice strong {
  color: var(--deep-black);
  font-weight: 300;
}

/* Browser specific instructions */
.browser-instructions {
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 8px;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
}

.browser-instructions h4 {
  color: var(--deep-black);
  margin-bottom: 1rem;
  font-weight: 300;
}

.browser-instructions ol {
  margin-bottom: 0;
}

.browser-instructions li {
  margin-bottom: 0.5rem;
}
