/* Cookie Policy Page - spherebox Specifieke Styling - VOLLEDIG VERBETERD */

/* Base styling importeren maar overschrijven waar nodig */
@import url("privacy-policy.css");

/* HERO SECTION - SPECIFIEK VOOR COOKIE POLICY */
.policy-hero {
  background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
    url("../assets/img-8185.webp");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.policy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(199, 200, 202, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(172, 162, 152, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.policy-hero .hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  z-index: 2;
  position: relative;
}

.policy-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  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(1.1rem, 3vw, 1.4rem);
  color: var(--silver-mist);
  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 SECTION - VERBETERDE LAYOUT */
.policy-section {
  padding: clamp(6rem, 10vw, 8rem) 0;
  background: var(--ivory-white);
  position: relative;
}

.policy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(199, 200, 202, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(172, 162, 152, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* POLICY INTRO - VERBETERDE STYLING */
.policy-intro {
  text-align: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  padding: clamp(3rem, 6vw, 4rem);
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  border-radius: 12px;
  border: 1px solid rgba(199, 200, 202, 0.3);
  box-shadow: 0 10px 40px rgba(172, 162, 152, 0.1);
  position: relative;
  overflow: hidden;
}

.policy-intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(201, 166, 107, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(50px, -50px);
}

.policy-intro .lead {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--deep-black);
  font-family: var(--font-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.policy-intro p {
  color: var(--warm-grey);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 300;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* CONTENT STYLING - CONSISTENT MET ANDERE PAGINA'S */
.policy-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--deep-black);
  margin-top: clamp(3rem, 6vw, 4rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -1px;
  border-bottom: 3px solid var(--antique-gold);
  padding-bottom: 0.8rem;
  position: relative;
}

.policy-content h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--silver-mist);
}

.policy-content h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  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;
  position: relative;
  padding-left: 1.5rem;
}

.policy-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--antique-gold);
  border-radius: 2px;
}

.policy-content h4 {
  font-family: var(--font-secondary);
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  color: var(--deep-black);
  margin-top: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--warm-grey);
}

.policy-content p {
  color: var(--warm-taupe);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  font-family: var(--font-secondary);
  line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: clamp(1.8rem, 3vw, 2.5rem);
  padding-left: clamp(1.8rem, 4vw, 2.5rem);
}

.policy-content li {
  color: var(--warm-taupe);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 1rem;
  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: all 0.3s ease;
  font-weight: 300;
}

.policy-content a:hover {
  color: var(--deep-black);
  text-decoration: none;
  transform: translateY(-1px);
}

/* COOKIE TABLES - MODERNE STYLING */
.cookie-table {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(172, 162, 152, 0.15);
  background: var(--ivory-white);
  border: 1px solid rgba(199, 200, 202, 0.2);
  transition: all 0.3s ease;
}

.cookie-table:hover {
  box-shadow: 0 20px 60px rgba(172, 162, 152, 0.2);
  transform: translateY(-2px);
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.cookie-table th {
  background: linear-gradient(135deg, var(--antique-gold), #d4b876);
  color: var(--deep-black);
  font-weight: 300;
  padding: clamp(1.2rem, 3vw, 1.5rem);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  position: relative;
}

.cookie-table th:first-child {
  border-top-left-radius: 12px;
}

.cookie-table th:last-child {
  border-top-right-radius: 12px;
}

.cookie-table td {
  padding: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--warm-taupe);
  border-bottom: 1px solid rgba(199, 200, 202, 0.15);
  vertical-align: top;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.cookie-table tr:nth-child(even) {
  background: rgba(199, 200, 202, 0.03);
}

.cookie-table tr:hover {
  background: rgba(201, 166, 107, 0.08);
  transform: scale(1.01);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.cookie-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Cookie name styling */
.cookie-table td:first-child {
  font-weight: 300;
  color: var(--deep-black);
  font-family: "Courier New", monospace;
  background: rgba(201, 166, 107, 0.05);
  position: relative;
}

.cookie-table td:first-child::before {
  content: "🍪";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  opacity: 0.7;
}

.cookie-table td:first-child {
  padding-left: 2.5rem;
}

/* COOKIE CATEGORIES - VERBETERDE STYLING */
.cookie-category {
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 16px;
  margin: clamp(3rem, 6vw, 4rem) 0;
  border-left: 6px solid var(--antique-gold);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(172, 162, 152, 0.1);
  transition: all 0.3s ease;
}

.cookie-category:hover {
  box-shadow: 0 15px 50px rgba(172, 162, 152, 0.15);
  transform: translateY(-3px);
}

.cookie-category::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(199, 200, 202, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(40px, -40px);
}

.cookie-category h3 {
  color: var(--deep-black);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
}

.cookie-category p {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--warm-taupe);
}

/* CONTACT INFO - VERBETERDE STYLING */
.contact-info {
  background: linear-gradient(135deg, var(--deep-black) 0%, #2d2d2d 100%);
  color: var(--ivory-white);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 16px;
  margin: clamp(3rem, 6vw, 4rem) 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(199, 200, 202, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(172, 162, 152, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-info p {
  margin-bottom: 1.2rem;
  color: var(--ivory-white);
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.contact-info strong {
  color: var(--silver-mist);
  font-weight: 300;
}

.contact-info a {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 300;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--silver-mist);
  text-decoration: underline;
  transform: translateY(-1px);
}

/* POLICY FOOTER - VERBETERDE STYLING */
.policy-footer {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 2px solid rgba(199, 200, 202, 0.3);
  text-align: center;
  position: relative;
}

.policy-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--antique-gold);
}

.policy-footer p {
  color: var(--warm-grey);
  font-size: clamp(0.95rem, 2.3vw, 1.1rem);
  font-style: italic;
  margin: 0;
  font-weight: 300;
}

/* RESPONSIVE DESIGN - VERBETERD */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .policy-content {
    max-width: 1100px;
  }

  .cookie-table {
    margin: 4rem 0;
  }

  .cookie-category {
    margin: 5rem 0;
  }
}

/* Desktop (1024px - 1399px) */
@media (min-width: 1024px) {
  .policy-content {
    max-width: 1000px;
  }

  .policy-intro {
    padding: clamp(3.5rem, 6vw, 4.5rem);
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .policy-hero {
    height: 60vh;
    min-height: 450px;
  }

  .policy-section {
    padding: clamp(5rem, 8vw, 7rem) 0;
  }

  .cookie-table th,
  .cookie-table td {
    padding: clamp(0.8rem, 2vw, 1rem);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
  }

  .cookie-category,
  .contact-info {
    padding: clamp(2rem, 4vw, 2.5rem);
    margin: clamp(2.5rem, 5vw, 3rem) 0;
  }
}

/* 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(3rem, 6vw, 4rem);
    padding: clamp(2rem, 5vw, 2.5rem);
  }

  .cookie-table {
    font-size: 0.8rem;
    margin: clamp(2rem, 4vw, 2.5rem) 0;
  }

  .cookie-table th,
  .cookie-table td {
    padding: clamp(0.6rem, 1.5vw, 0.8rem);
  }

  .cookie-table td:first-child {
    padding-left: 2rem;
  }

  .cookie-category,
  .contact-info {
    padding: clamp(1.8rem, 4vw, 2.2rem);
    margin: clamp(2rem, 4vw, 2.5rem) 0;
  }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .policy-content {
    padding: 0 1rem;
  }

  .cookie-table {
    font-size: 0.75rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.5rem;
  }

  .cookie-table td:first-child::before {
    display: none;
  }

  .cookie-table td:first-child {
    padding-left: 0.5rem;
  }
}

/* ACCESSIBILITY EN PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
  .cookie-table,
  .cookie-category,
  .contact-info,
  .policy-content a {
    transition: none !important;
  }

  .cookie-table:hover,
  .cookie-category:hover,
  .cookie-table tr:hover {
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .cookie-table,
  .cookie-category,
  .contact-info {
    border: 2px solid var(--deep-black);
  }

  .cookie-table th {
    background: var(--deep-black) !important;
    color: var(--ivory-white) !important;
  }
}

/* Print Styles */
@media print {
  .policy-hero {
    display: none !important;
  }

  .policy-section {
    padding: 2rem 0 !important;
  }

  .cookie-table,
  .cookie-category,
  .contact-info {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }

  .policy-content a {
    color: black !important;
    text-decoration: underline !important;
  }
}

/* Focus States voor Accessibility */
.policy-content a:focus,
.contact-info a:focus {
  outline: 3px solid var(--antique-gold);
  outline-offset: 2px;
  border-radius: 2px;
}
