/* ============================================================
   Van Hoof & Co — style.css
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --orange:      #f8873e;
  --orange-dark: #e06a20;
  --navy:        #374184;
  --navy-dark:   #252d5e;
  --white:       #ffffff;
  --light-bg:    #f4f6fb;
  --text:        #1e1e2e;
  --text-muted:  #5a5f7a;
  --border:      #dde1f0;
  --shadow:      0 4px 24px rgba(55, 65, 132, 0.10);
  --shadow-lg:   0 8px 40px rgba(55, 65, 132, 0.16);
  --radius:      10px;
  --header-h:    72px;
  --transition:  0.25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  color: var(--orange);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 135, 62, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-footer {
  color: var(--white);
  background-color: var(--orange);
}

.btn-footer:hover {
  background-color: var(--orange-dark);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition), background var(--transition);
}



#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  background: var(--white);
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255,255,255,0.1);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--orange);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---------- Hero ---------- */
#home {
  min-height: 100vh;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  position: relative;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-shapes::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(248, 135, 62, 0.08);
}

.hero-bg-shapes::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(248, 135, 62, 0.05);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 135, 62, 0.15);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(248, 135, 62, 0.25);
  width: fit-content;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.12;
}

.hero-title span {
  color: var(--navy-dark);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--navy);
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 520 / 416;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Services ---------- */
#diensten {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(248, 135, 62, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--orange);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- About ---------- */
#over-ons {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  background: var(--light-bg);
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.75;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.trust-badge:hover {
  transform: translateX(4px);
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(248, 135, 62, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.trust-badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-badge-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 480 / 365;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ---------- Realisaties ---------- */
#realisaties {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  background: var(--white);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(55, 65, 132, 0.85) 0%, rgba(55, 65, 132, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-item.gallery-placeholder {
  background: var(--light-bg);
  border: 2px dashed var(--border);
  box-shadow: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.gallery-placeholder:hover img {
  transform: none;
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.placeholder-inner svg {
  color: var(--border);
}

.placeholder-inner span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
#contact {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  background: var(--light-bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(248, 135, 62, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.contact-item-body strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-body a,
.contact-item-body span,
.contact-item-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-item-body a {
  transition: color var(--transition);
}

.contact-item-body a:hover {
  color: var(--orange);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 4px;
}

.hours-table td {
  padding: 3px 0;
  padding-right: 12px;
  color: var(--text);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}

.hours-closed {
  color: #e05050 !important;
  font-style: italic;
}

.cta-call-block {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-call-block span {
  color: var(--white);
  font-size: 0.95rem;
}

.cta-call-block strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ---------- Footer ---------- */
#site-footer {
  background: var(--white);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 50px;
  width: auto;
  opacity: 0.85;  
}

.footer-copy {
  font-size: 0.83rem;
  text-align: center;
}

.footer-links {
  display: flex;
  color: var(--navy-dark);
  gap: 20px;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--navy-dark);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--orange);
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ---------- Responsive: Medium (≤ 1023px, ≥ 768px) ---------- */
@media (max-width: 1023px) and (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Responsive: Tablet (≤ 1023px) ---------- */
@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    max-width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-tag {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Responsive: Mobile (≤ 767px) ---------- */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 280px;
  }

  .contact-map iframe {
    min-height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-call-block {
    flex-direction: column;
    text-align: center;
  }

  #diensten,
  #over-ons,
  #realisaties,
  #contact {
    padding: 56px 0;
    min-height: unset;
  }

  .hero-image img {
    max-height: 55vw;
    object-fit: cover;
  }

  .hero-inner {
    padding: 40px 0 56px;
    gap: 28px;
  }
}

/* ---------- Responsive: Small Mobile (≤ 480px) ---------- */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
