/* ================================================
   TEDOENLIJST.NL — SHARED STYLES
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #f5f5f1;
  --white: #ffffff;
  --black: #0d0d0d;
  --accent: #ff3d00;
  --accent-glow: rgba(255, 61, 0, 0.25);
  --gray: #777777;
  --gray-light: #e2e2de;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --max-w: 1200px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dot pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #bebeba 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ---- CURSOR ---- */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}
.cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255,61,0,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}
body:hover .cursor-ring { opacity: 1; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(245, 245, 241, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 19px;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px) !important;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 100px;
  border: 2px solid var(--gray-light);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--black);
  box-shadow: var(--card-shadow);
}

/* ---- SECTION BASE ---- */
section { position: relative; z-index: 1; }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--black);
}
.section-text {
  font-size: 18px;
  line-height: 1.78;
  color: #484848;
  max-width: 640px;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ---- CARD ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  padding: 52px 40px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 24px 0 0;
}
.footer-copy {
  width: 100%;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  padding-top: 16px;
}

/* ---- BLOG PAGE SPECIFIC ---- */
.blog-hero {
  padding: 140px 40px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s, gap 0.2s;
}
.blog-back:hover { color: var(--black); gap: 12px; }
.blog-back svg { transition: transform 0.2s; }
.blog-back:hover svg { transform: translateX(-3px); }
.blog-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--black);
  max-width: 900px;
  margin-bottom: 24px;
}
.blog-meta {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}
.blog-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px 100px;
}
.blog-content p {
  font-size: 18px;
  line-height: 1.85;
  color: #3a3a3a;
  margin-bottom: 24px;
}
.blog-content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 48px 0 16px;
  padding-top: 8px;
  border-top: 2px solid var(--gray-light);
}
.blog-content h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 32px 0 12px;
}
.blog-content ul, .blog-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.blog-content li {
  font-size: 18px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 8px;
}
.blog-content strong { color: var(--black); font-weight: 700; }
.blog-cta-box {
  background: var(--black);
  border-radius: var(--radius);
  padding: 48px;
  margin: 64px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255,61,0,0.25) 0%, transparent 60%);
}
.blog-cta-box h3 {
  font-size: 28px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  border: none;
}
.blog-cta-box p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 28px;
  position: relative;
}
.blog-cta-box .btn-primary { position: relative; }

/* Floating animation for hero cards */
@keyframes float-a {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, -4deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, -4deg)); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 3deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, 3deg)); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 2deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 2deg)); }
}

/* Pulse on CTA aanbod */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px var(--accent-glow); }
  50% { box-shadow: 0 8px 48px rgba(255,61,0,0.45); }
}
.btn-pulse { animation: pulse-glow 2.5s ease-in-out infinite; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section-inner { padding: 0 20px; }
  .footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .blog-hero { padding: 120px 20px 60px; }
  .blog-content { padding: 0 20px 80px; }
  .blog-cta-box { padding: 32px 24px; }
}
