@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --wsn-blue: #085293;
  --wsn-blue-dark: #053d6e;
  --wsn-blue-light: #1a6bbf;
  --wsn-accent: #00b4d8;
  --wsn-accent-light: #e8f7fb;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(8,82,147,0.08);
  --shadow-lg: 0 8px 40px rgba(8,82,147,0.15);
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', 'Segoe UI', sans-serif; color: var(--gray-800); background: var(--white); overflow-y: scroll; font-size: 16px; line-height: 1.6; }

header { background: var(--wsn-blue); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0.75rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.logo-wrapper { max-width: 160px; display: flex; align-items: center; }
.logo { width: 100%; height: auto; display: block; }

nav { background: transparent; padding: 0; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; font-size: 0.9rem; padding: 0.5rem 0.85rem; border-radius: 8px; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.15); }
.nav-links a.nav-cta { background: var(--wsn-accent); color: var(--white); font-weight: 600; margin-left: 0.5rem; }
.nav-links a.nav-cta:hover { background: #00a0c0; }
.home-icon { width: 18px; height: auto; }
#menu-toggle { display: none; }
.menu-icon img { display: none; width: 2.2rem; cursor: pointer; filter: brightness(0) invert(1); }

main#content { min-height: 60vh; }

.hero { background: linear-gradient(135deg, var(--wsn-blue) 0%, var(--wsn-blue-light) 100%); color: white; padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.5rem; text-transform: uppercase; }
.hero h1 { font-family: 'Inter', sans-serif; font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; line-height: 1.15; color: white; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--wsn-accent); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; text-align: center; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: none; transition: var(--transition); font-family: inherit; }
.btn-primary { background: var(--wsn-accent); color: white; }
.btn-primary:hover { background: #00a0c0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,180,216,0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-blue { background: var(--wsn-blue); color: white; }
.btn-blue:hover { background: var(--wsn-blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--gray-100); color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-200); }

.section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { display: inline-block; color: var(--wsn-accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.section h2 { font-family: 'Inter', sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: var(--wsn-blue); margin-bottom: 0.75rem; text-align: center; }
.section-sub { color: var(--gray-600); font-size: 1rem; text-align: center; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.service-card { background: white; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--gray-200); transition: var(--transition); cursor: pointer; text-align: center; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--wsn-accent); }
.service-icon { width: 64px; height: 64px; background: var(--wsn-accent-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.25rem; }
.service-card h3 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--wsn-blue); margin-bottom: 0.75rem; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; text-align: center; margin: 0 0 1.25rem; line-height: 1.6; }
.service-link { color: var(--wsn-accent); font-weight: 600; font-size: 0.9rem; text-decoration: none; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; }
.product-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 18px rgba(8,82,147,0.07); border: 1px solid var(--gray-100); transition: all .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(8,82,147,0.15); border-color: var(--wsn-blue); }
.product-img { width:100%; height:220px; object-fit:contain; background:linear-gradient(180deg,#f8fafc,#eef2f7); border-bottom:1px solid var(--gray-100); padding:1rem; box-sizing:border-box; }
.product-img-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg,var(--gray-100),var(--gray-200)); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.product-body { padding: 1.25rem; }
.product-badge { display: inline-block; background: var(--wsn-accent-light); color: var(--wsn-accent); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 50px; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.product-badge.verkoop { background: #fef3c7; color: #d97706; }
.product-card h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: 0.4rem; }
.product-card p { color: var(--gray-600); font-size: 0.875rem; margin-bottom: 1rem; text-align: left; line-height: 1.5; }
.product-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1rem; }
.price-amount { font-family: 'Inter', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--wsn-blue); }
.price-period { color: var(--gray-400); font-size: 0.85rem; }
.product-card .btn { width: 100%; justify-content: center; padding: 0.7rem; font-size: 0.95rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1.5rem; text-align: center; }
.stat-item { display:inline-block; width:auto; min-width:100px; text-align:center; margin:0.5rem 1.5rem; vertical-align:top; }
.stat-number { font-family: 'Inter', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--wsn-blue); display: block; }
.stat-label { color: var(--gray-600); font-size: 0.9rem; margin-top: 0.25rem; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1rem; margin-top: 1.5rem; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; }
.photo-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.5rem; margin-top: 1rem; }
.contact-info-card { background: white; border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.contact-info-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-info-card h4 { font-weight: 700; color: var(--wsn-blue); margin-bottom: 0.4rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-card p { color: var(--gray-600); font-size: 0.95rem; text-align: center; margin: 0; }
.contact-info-card a { color: var(--wsn-blue); text-decoration: none; font-weight: 600; }

#contactSection { max-width: 640px; margin: 0 auto; background: white; padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
#contactSection label { display: block; margin-bottom: 0.3rem; font-weight: 600; font-size: 0.9rem; }
#contactSection input, #contactSection select, #contactSection textarea { width: 100%; padding: 0.65rem 0.9rem; margin-bottom: 1.1rem; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: var(--gray-50); transition: var(--transition); color: var(--gray-800); }
#contactSection input:focus, #contactSection select:focus, #contactSection textarea:focus { border-color: var(--wsn-blue); outline: none; background: white; box-shadow: 0 0 0 3px rgba(8,82,147,0.08); }
#contactSection textarea { resize: vertical; min-height: 90px; }
#submitBtn { width: 100%; background: var(--wsn-blue); color: white; border: none; padding: 0.9rem; font-size: 1rem; font-weight: 700; border-radius: 10px; cursor: pointer; transition: var(--transition); font-family: inherit; }
#submitBtn:hover { background: var(--wsn-blue-dark); transform: translateY(-1px); }

footer { background: var(--wsn-blue-dark); color: rgba(255,255,255,0.8); padding: 2rem; text-align: center; font-size: 0.9rem; }
footer a { color: var(--wsn-accent); text-decoration: none; }

#spinner { display: none; margin: 1.5rem auto; width: 44px; height: 44px; border: 4px solid var(--gray-200); border-top: 4px solid var(--wsn-blue); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#result { margin-top: 1rem; font-weight: 600; text-align: center; }
.success-message { background: #d1fae5; color: #065f46; padding: 1rem; border-radius: 8px; border: 1px solid #a7f3d0; }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: var(--radius-lg); padding: 2rem; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal h3 { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--wsn-blue); margin-bottom: 1.5rem; }
.modal label { display: block; margin-bottom: 0.3rem; font-weight: 600; font-size: 0.9rem; }
.modal input, .modal select, .modal textarea { width: 100%; padding: 0.65rem 0.9rem; margin-bottom: 1rem; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: var(--gray-50); transition: var(--transition); }
.modal input:focus, .modal select:focus, .modal textarea:focus { border-color: var(--wsn-blue); outline: none; background: white; }
.modal-footer { display: flex; gap: 0.75rem; margin-top: 1rem; }
.modal-footer .btn { flex: 1; justify-content: center; }

h1, h2, h3 { font-family: 'Inter', sans-serif; }
p { text-align: center; line-height: 1.7; margin-bottom: 0.75rem; }

@media (max-width: 768px) {
  .menu-icon img { display: block; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; width: 100%; background: var(--wsn-blue-dark); padding: 0.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
  #menu-toggle:checked ~ nav .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 0.7rem 1rem; border-radius: 0; font-size: 1rem; }
  .nav-links a.nav-cta { margin-left: 0; border-radius: 0; }
  .hero { padding: 3rem 1.25rem; }
  .section { padding: 3rem 1.25rem; }
  #contactSection { padding: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
.stats-bar { text-align:center; padding:2rem 1.5rem; background:white; border-bottom:1px solid var(--gray-200); }
.stat-item { display:inline-block; width:auto; min-width:100px; text-align:center; margin:0.5rem 1.5rem; vertical-align:top; }
.stat-number { display:block; font-size:2rem; font-weight:800; color:var(--wsn-blue); }
.stat-label { display:block; font-size:0.9rem; color:var(--gray-500); margin-top:0.25rem; }

/* Hero cards mobile */
@media (max-width: 640px) {
  .wsn-hero-cards { grid-template-columns: 1fr !important; max-width:320px !important; }
}

/* Product description formatting */
.product-desc { font-size:0.9rem; color:var(--gray-600); line-height:1.6; margin-bottom:0.75rem; }
.product-features { list-style:none; padding:0; margin:0.75rem 0; }
.product-features li { display:flex; align-items:flex-start; gap:0.5rem; font-size:0.85rem; color:var(--gray-700); padding:0.2rem 0; }
.product-features li::before { content:"\2713"; color:var(--wsn-accent); font-weight:700; flex-shrink:0; }
.product-specs { width:100%; border-collapse:collapse; margin:0.75rem 0; font-size:0.85rem; }
.product-specs tr:nth-child(even) { background:var(--gray-50); }
.product-specs td { padding:0.35rem 0.5rem; color:var(--gray-700); }
.product-specs td:first-child { font-weight:600; color:var(--gray-800); width:45%; }


/* FOOTER RESPONSIVE FIX */
@media (max-width: 700px) {
  #footerCols {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.75rem !important;
  }
}
@media (max-width: 420px) {
  #footerCols {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}


/* WHATSAPP MOBILE FIX */
@media (max-width: 640px) {
  a.wa-float[href*="wa.me"] {
    width: 48px !important;
    height: 48px !important;
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    font-size: 1.4rem !important;
  }
}


/* PRODUCT CARD REDESIGN */
.product-specs-chips { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:.4rem; margin-bottom:.75rem; }
.spec-chip { background:var(--gray-50); border:1px solid var(--gray-100); border-radius:8px; padding:.3rem .6rem; font-size:.76rem; color:var(--gray-600); }
.spec-chip strong { color:var(--gray-800); font-weight:700; }
.product-features-more { margin-top:.3rem; }
.product-features-more summary { cursor:pointer; color:var(--wsn-blue); font-size:.85rem; font-weight:700; list-style:none; }
.product-features-more summary::-webkit-details-marker { display:none; }
.product-features-more[open] summary { margin-bottom:.3rem; }
.product-price-row { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-top:.5rem; flex-wrap:wrap; }
.product-price-row .product-price { margin-bottom:0; }
.product-price-row .btn { width:auto; flex-shrink:0; padding:.65rem 1.2rem; }

/* Filter pills (Verhuur/Verkoop categorie-filters) */
.filter-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin: 0 auto 2rem;
  max-width: 720px;
  padding: 0 1rem;
}
.filter-btn {
  background: white;
  color: #085293;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: .55rem 1.3rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: #085293;
  background: #f8fafc;
  transform: translateY(-1px);
}
.filter-btn.active {
  background: #085293;
  color: white;
  border-color: #085293;
  box-shadow: 0 4px 12px rgba(8,82,147,.28);
}
