/* ============================================
   Niek Zwaan Kraanverhuur B.V. — 2026 Style
   ============================================ */

:root {
  --color-primary: #F5C518;
  --color-primary-dark: #D4A80F;
  --color-primary-light: #FFD84D;
  --color-dark: #0D0D0D;
  --color-dark-soft: #1A1A1A;
  --color-dark-muted: #2A2A2A;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-400: #9CA3AF;
  --color-gray-600: #4B5563;
  --color-gray-800: #1F2937;
  --color-white: #FFFFFF;
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-whatsapp: #25D366;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --shadow-glow: 0 0 40px rgba(245,197,24,.25);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--color-primary); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-dark);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: transparent;
  padding-left: 12px;
  padding-right: 12px;
}
.btn--ghost:hover { color: var(--color-primary); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}
.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

.btn__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  width: 20px;
  height: 20px;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(13,13,13,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(13,13,13,.95);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.header__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav__list {
  display: flex;
  gap: 8px;
}

.nav__link {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
  background: rgba(255,255,255,.08);
}
.nav__link.active { color: var(--color-primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone span { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,.88) 0%,
    rgba(13,13,13,.65) 50%,
    rgba(13,13,13,.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  background: rgba(245,197,24,.15);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(245,197,24,.3);
  margin-bottom: 24px;
  animation: fadeUp .8s ease both;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
  animation: fadeUp .8s .1s ease both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeUp .8s .2s ease both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeUp .8s .3s ease both;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  animation: fadeUp .8s .4s ease both;
}
.hero__stat strong {
  display: block;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero__stat span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  padding: 100px 0;
}
.section--light { background: var(--color-white); }
.section--dark { background: var(--color-dark); }
.section--contact { background: var(--color-gray-100); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}
.section__label--light { color: var(--color-primary); }

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.section__title--light { color: var(--color-white); }

.section__desc {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(245,197,24,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.service-card__text {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid__text {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
}
.about-features svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.about-grid__images {
  position: relative;
  display: grid;
  gap: 16px;
}
.about-grid__img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
}
.about-grid__img--main {
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-grid__img--secondary {
  aspect-ratio: 16/9;
  width: 70%;
  margin-left: auto;
  margin-top: -40px;
  border: 4px solid var(--color-dark);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 64px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.cta-banner__text {
  color: rgba(13,13,13,.7);
  font-size: 16px;
}
.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover figcaption { transform: translateY(0); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info__desc {
  color: var(--color-gray-600);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-style: normal;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: rgba(245,197,24,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 20px; height: 20px; }
.contact-detail strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.contact-detail p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--color-primary-dark); }

/* Form */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}
.form-group label span { color: var(--color-error); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245,197,24,.15);
}
.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: 13px;
  color: var(--color-error);
  min-height: 18px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-feedback {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
}
.form-feedback.success {
  background: rgba(16,185,129,.1);
  color: #065F46;
  border: 1px solid rgba(16,185,129,.3);
}
.form-feedback.error {
  background: rgba(239,68,68,.1);
  color: #991B1B;
  border: 1px solid rgba(239,68,68,.3);
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.6);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand img {
  height: 72px;
  width: auto;
  margin-bottom: 16px;
  opacity: .9;
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: var(--color-white);
}

.footer__links h3 {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer__links li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer__links a:hover { color: var(--color-primary); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer__bottom a {
  color: var(--color-primary);
  font-weight: 600;
}
.footer__bottom a:hover { color: var(--color-primary-light); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,.5);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.6); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 32px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,.1); }

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

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid__img--secondary { margin-top: 0; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13,13,13,.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    gap: 4px;
  }
  .nav__link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav-toggle { display: flex; }
  .header__actions .btn--ghost { display: none; }
  .header__actions .btn--primary { display: none; }

  .hero__stats { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .section { padding: 72px 0; }
}

@media (min-width: 769px) {
  .header__phone span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
