/* ===========================
   IJsKracht Reiniging — Styles
   =========================== */

:root {
  --navy-950: #0a1420;
  --navy-900: #0e1c2e;
  --navy-800: #14283f;
  --blue-700: #1c4d7c;
  --blue-600: #2467a8;
  --blue-500: #2f8fd6;
  --ice-400: #7fd4f0;
  --ice-300: #b9ebfa;
  --grey-100: #f4f6f8;
  --grey-200: #e7ebef;
  --grey-400: #aab4c0;
  --grey-600: #5c6b7a;
  --white: #ffffff;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-md: 0 10px 30px rgba(10, 20, 32, 0.12);
  --shadow-lg: 0 25px 60px rgba(10, 20, 32, 0.18);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 4px solid rgba(127, 212, 240, 0.2);
  border-top-color: var(--ice-400);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; box-shadow: 0 10px 25px rgba(36, 103, 168, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(36, 103, 168, 0.45); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .35s ease;
  background: transparent;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(10, 20, 32, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}
.logo { font-family: var(--font-head); }
.logo-icon { color: var(--ice-400); font-size: 1.6rem; }
.logo-text { color: #fff; font-size: 1.15rem; letter-spacing: 0.3px; display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { color: var(--ice-400); }
.logo-text small { font-size: 0.6rem; color: var(--grey-400); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

.main-nav .nav-link { color: #fff; font-weight: 500; font-size: 0.95rem; position: relative; transition: color .25s; }
.main-nav .nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--ice-400); transition: width .3s ease;
}
.main-nav .nav-link:hover::after { width: 100%; }
.navbar-toggler-icon { filter: invert(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(1.1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,32,0.75) 0%, rgba(10,20,32,0.55) 40%, rgba(14,28,46,0.92) 100%);
}
.ice-mist {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 100%, rgba(127,212,240,0.25), transparent 55%),
              radial-gradient(ellipse at 80% 90%, rgba(47,143,214,0.25), transparent 55%);
  animation: mistDrift 8s ease-in-out infinite alternate;
}
@keyframes mistDrift { from { transform: translateX(-10px) scale(1); } to { transform: translateX(15px) scale(1.05); } }

.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 90px; }
.eyebrow {
  display: inline-block; padding: 8px 18px; border-radius: 50px;
  background: rgba(127,212,240,0.15); border: 1px solid rgba(127,212,240,0.35);
  color: var(--ice-300); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; font-weight: 800;
  max-width: 900px; margin: 0 auto 22px; letter-spacing: -0.5px;
}
.hero-sub { max-width: 640px; margin: 0 auto 36px; color: var(--grey-200); font-size: 1.1rem; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--ice-400); }
.stat-label { font-size: 0.85rem; color: var(--grey-400); text-transform: uppercase; letter-spacing: 0.8px; }

.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 20px;
}
.scroll-down span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; background: #fff; border-radius: 50%;
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot { 0% { top: 8px; opacity: 1; } 80% { top: 26px; opacity: 0; } 100% { top: 26px; opacity: 0; } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--grey-100); padding: 26px 0; border-bottom: 1px solid var(--grey-200); }
.trustbar p { color: var(--grey-600); font-size: 0.9rem; font-weight: 500; }
.trust-tags span {
  background: #fff; border: 1px solid var(--grey-200); padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; color: var(--blue-700);
}

/* ---------- Section commons ---------- */
.section-eyebrow {
  color: var(--blue-600); font-weight: 700; text-transform: uppercase; font-size: 0.85rem;
  letter-spacing: 1.2px; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 20px; max-width: 700px; }
.section-intro { color: var(--grey-600); max-width: 680px; font-size: 1.05rem; margin-bottom: 50px; }

/* ---------- Services ---------- */
.services { background: #fff; }
.service-card {
  background: var(--grey-100); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.service-visual {
  position: relative; height: 240px; overflow: hidden;
}
.dry-ice-visual { background: linear-gradient(160deg, var(--navy-900), var(--blue-700) 70%); }
.sand-visual { background: linear-gradient(160deg, #3a3226, #6b5a3e 70%); }

.nozzle {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 46px; background: var(--grey-400); border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
.nozzle-sand { background: #c7a76b; }

.mist-particles span, .grit-particles span {
  position: absolute; top: 55px; left: 50%; border-radius: 50%;
  animation: spray 2.4s ease-in infinite;
}
.mist-particles span { width: 10px; height: 10px; background: radial-gradient(circle, #eafcff, rgba(127,212,240,0.1)); }
.grit-particles span { width: 5px; height: 5px; background: #e8d7ab; }

.mist-particles span:nth-child(1){ animation-delay: 0s; left: 48%; }
.mist-particles span:nth-child(2){ animation-delay: .3s; left: 55%; }
.mist-particles span:nth-child(3){ animation-delay: .6s; left: 42%; }
.mist-particles span:nth-child(4){ animation-delay: .9s; left: 60%; }
.mist-particles span:nth-child(5){ animation-delay: 1.2s; left: 46%; }
.mist-particles span:nth-child(6){ animation-delay: 1.5s; left: 52%; }
.mist-particles span:nth-child(7){ animation-delay: 1.8s; left: 58%; }
.mist-particles span:nth-child(8){ animation-delay: 2.1s; left: 44%; }

.grit-particles span:nth-child(1){ animation-delay: 0s; left: 49%; }
.grit-particles span:nth-child(2){ animation-delay: .2s; left: 54%; }
.grit-particles span:nth-child(3){ animation-delay: .4s; left: 44%; }
.grit-particles span:nth-child(4){ animation-delay: .6s; left: 58%; }
.grit-particles span:nth-child(5){ animation-delay: .8s; left: 40%; }
.grit-particles span:nth-child(6){ animation-delay: 1s; left: 62%; }
.grit-particles span:nth-child(7){ animation-delay: 1.2s; left: 47%; }
.grit-particles span:nth-child(8){ animation-delay: 1.4s; left: 56%; }
.grit-particles span:nth-child(9){ animation-delay: 1.6s; left: 51%; }
.grit-particles span:nth-child(10){ animation-delay: 1.8s; left: 60%; }

@keyframes spray {
  0% { transform: translate(-50%, 0) scale(1); opacity: 0.9; }
  100% { transform: translate(-90px, 160px) scale(0.3); opacity: 0; }
}

.ice-crystal {
  position: absolute; bottom: 20px; right: 24px; width: 46px; height: 46px; opacity: 0.5;
  animation: rotateCrystal 6s linear infinite;
}
@keyframes rotateCrystal { to { transform: rotate(360deg); } }

.service-body { padding: 34px; }
.service-icon { font-size: 1.6rem; color: var(--blue-600); }
.service-body h3 { font-size: 1.35rem; margin: 10px 0 14px; }
.service-body p { color: var(--grey-600); margin-bottom: 18px; }
.service-list { margin-bottom: 20px; }
.service-list li {
  position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--navy-800); font-size: 0.95rem;
}
.service-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--blue-500); font-weight: 700;
}
.link-arrow { color: var(--blue-600); font-weight: 700; font-size: 0.95rem; transition: gap .25s ease, color .25s; display: inline-flex; }
.link-arrow:hover { color: var(--blue-700); }

/* ---------- Benefits ---------- */
.benefits { background: var(--grey-100); }
.benefit-card {
  background: #fff; padding: 34px 28px; border-radius: var(--radius); box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}
.benefit-card:hover { transform: translateY(-6px); }
.benefit-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: linear-gradient(135deg, var(--ice-300), var(--blue-500));
  font-size: 1.5rem; margin-bottom: 18px;
}
.benefit-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.benefit-card p { color: var(--grey-600); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process { background: var(--navy-900); color: #fff; }
.process .section-title, .process .section-eyebrow { color: #fff; }
.process .section-eyebrow { color: var(--ice-400); }
.step {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  padding: 30px 24px; border-radius: var(--radius); transition: background .3s ease, transform .3s ease;
}
.step:hover { background: rgba(255,255,255,0.09); transform: translateY(-6px); }
.step-num {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--ice-400); margin-bottom: 12px;
}
.step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--grey-400); font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery { background: #fff; }
.gallery-item {
  position: relative; height: 220px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.gallery-item.large { height: 460px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(0deg, rgba(10,20,32,0.88), transparent);
  color: #fff; transform: translateY(10px); opacity: 0.92;
}
.gallery-caption h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.gallery-caption p { font-size: 0.82rem; color: var(--grey-200); }

.gallery-item.illustrated { background: var(--navy-900); }
.mini-visual { position: absolute; inset: 0; }
.mini-visual.dry-ice-visual { background: linear-gradient(160deg, var(--navy-900), var(--blue-700) 80%); }
.mini-visual.sand-visual { background: linear-gradient(160deg, #3a3226, #6b5a3e 80%); }
.mist-particles.small span, .grit-particles.small span { top: 10%; }

/* ---------- About ---------- */
.about { background: var(--grey-100); }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 24px; left: 24px; background: #fff; padding: 16px 22px; border-radius: 14px;
  box-shadow: var(--shadow-md); text-align: center;
}
.badge-num { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--blue-600); }
.badge-text { font-size: 0.78rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: 0.5px; }
.about-content p { color: var(--grey-600); margin-bottom: 16px; }
.about-points div { font-size: 0.95rem; color: var(--navy-800); font-weight: 500; }
.about-points strong { color: var(--blue-500); margin-right: 6px; }

/* ---------- Testimonials ---------- */
.testimonials { background: #fff; }
.testimonial {
  background: var(--grey-100); border-left: 4px solid var(--blue-500); padding: 28px 26px; border-radius: 12px;
}
.testimonial p { font-style: italic; color: var(--navy-800); margin-bottom: 16px; }
.testimonial cite { font-size: 0.85rem; font-weight: 600; color: var(--blue-600); font-style: normal; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35); }
.cta-inner { position: relative; z-index: 1; text-align: center; color: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta-inner p { color: var(--grey-200); max-width: 600px; margin: 0 auto 34px; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact { background: var(--grey-100); }
.contact-info p { color: var(--grey-600); margin-bottom: 26px; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; color: var(--navy-800); }
.contact-list li span { font-size: 1.2rem; }

.contact-form { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.contact-form .form-label { font-size: 0.88rem; font-weight: 600; color: var(--navy-800); }
.contact-form .form-control, .contact-form .form-select { background-color: var(--grey-100); border-color: var(--grey-200); }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 .25rem rgba(47, 143, 214, .2); background: #fff; }
.form-note { margin-top: 14px; text-align: center; font-size: 0.9rem; color: var(--blue-600); font-weight: 600; min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--grey-400); padding-top: 70px; }
.footer-col p { font-size: 0.9rem; margin-top: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--ice-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; font-size: 0.85rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease; z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-700); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive media sizing ---------- */
@media (max-width: 991.98px) {
  .about-media img { height: 380px; }
}

@media (max-width: 480px) {
  .gallery-item.large { height: 280px; }
}
