/* =========================================================
   MK Rental & Sales – Custom Stylesheet
   ========================================================= */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --mk-navy:       #1B2A4A;
  --mk-navy-mid:   #2E4070;
  --mk-orange:     #F47920;
  --mk-orange-hov: #d96510;
  --mk-white:      #FFFFFF;
  --mk-grey-bg:    #F5F5F5;
  --mk-text-muted: #6c757d;
  --mk-radius:     0.75rem;
  --mk-transition: 0.3s ease;
  --mk-shadow:     0 4px 20px rgba(27, 42, 74, 0.12);
  --mk-shadow-hov: 0 8px 32px rgba(27, 42, 74, 0.22);
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #212529;
  overflow-x: hidden;
}

.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.mk-orange { color: var(--mk-orange) !important; }

/* ── Fade-in animation ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Navbar ────────────────────────────────────────────── */
.mk-navbar {
  background-color: var(--mk-navy) !important;
  padding: 0.6rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background-color var(--mk-transition), box-shadow var(--mk-transition);
}
.mk-navbar .nav-link {
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.4rem;
  transition: color var(--mk-transition), background var(--mk-transition);
}
.mk-navbar .nav-link:hover,
.mk-navbar .nav-link.active {
  color: var(--mk-orange) !important;
  background: rgba(244, 121, 32, 0.1);
}

/* ── Hero ──────────────────────────────────────────────── */
.mk-hero {
  background: var(--mk-navy);
  position: relative;
  overflow: hidden;
}
.mk-hero__bg-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mk-navy) 55%, var(--mk-navy-mid) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  z-index: 0;
}
.mk-hero__sub {
  color: var(--mk-orange);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.mk-hero__title { line-height: 1.1; }
.mk-hero__intro { color: rgba(255,255,255,0.78); }

/* Audio waveform decoration */
.mk-hero__wave {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.mk-hero__wave span {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: var(--mk-orange);
  animation: wave 1.4s ease-in-out infinite alternate;
}
.mk-hero__wave span:nth-child(1)  { height: 20px; animation-delay: 0.0s; }
.mk-hero__wave span:nth-child(2)  { height: 40px; animation-delay: 0.1s; }
.mk-hero__wave span:nth-child(3)  { height: 55px; animation-delay: 0.2s; }
.mk-hero__wave span:nth-child(4)  { height: 35px; animation-delay: 0.3s; }
.mk-hero__wave span:nth-child(5)  { height: 50px; animation-delay: 0.4s; }
.mk-hero__wave span:nth-child(6)  { height: 25px; animation-delay: 0.5s; }
.mk-hero__wave span:nth-child(7)  { height: 45px; animation-delay: 0.6s; }
.mk-hero__wave span:nth-child(8)  { height: 60px; animation-delay: 0.7s; }
.mk-hero__wave span:nth-child(9)  { height: 38px; animation-delay: 0.8s; }
.mk-hero__wave span:nth-child(10) { height: 52px; animation-delay: 0.9s; }
.mk-hero__wave span:nth-child(11) { height: 30px; animation-delay: 1.0s; }
.mk-hero__wave span:nth-child(12) { height: 48px; animation-delay: 1.1s; }
.mk-hero__wave span:nth-child(13) { height: 22px; animation-delay: 1.2s; }
.mk-hero__wave span:nth-child(14) { height: 42px; animation-delay: 1.3s; }
.mk-hero__wave span:nth-child(15) { height: 18px; animation-delay: 1.4s; }

@keyframes wave {
  from { transform: scaleY(0.5); }
  to   { transform: scaleY(1); }
}

/* ── Buttons ───────────────────────────────────────────── */
.mk-btn-orange {
  background-color: var(--mk-orange);
  color: var(--mk-white);
  border: 2px solid var(--mk-orange);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color var(--mk-transition), transform var(--mk-transition), box-shadow var(--mk-transition);
}
.mk-btn-orange:hover {
  background-color: var(--mk-orange-hov);
  border-color: var(--mk-orange-hov);
  color: var(--mk-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 121, 32, 0.35);
}

.mk-btn-outline-white {
  background-color: transparent;
  color: var(--mk-white);
  border: 2px solid rgba(255,255,255,0.75);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all var(--mk-transition);
}
.mk-btn-outline-white:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--mk-white);
  color: var(--mk-white);
  transform: translateY(-2px);
}

/* ── Section labels & titles ───────────────────────────── */
.mk-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mk-orange);
}
.mk-section-label--light { color: rgba(244,121,32,0.9); }

.mk-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--mk-navy);
  line-height: 1.15;
}
.mk-section-title--light { color: var(--mk-white); }

/* ── Feature cards (Over ons) ──────────────────────────── */
.mk-feature-card {
  background: var(--mk-grey-bg);
  border-radius: var(--mk-radius);
  padding: 1.5rem;
  border: 1px solid transparent;
  transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}
.mk-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow-hov);
  border-color: rgba(244,121,32,0.25);
}
.mk-feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(244, 121, 32, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--mk-orange);
}

/* ── Diensten section ──────────────────────────────────── */
.mk-diensten { background: var(--mk-navy); }

.mk-service-card {
  background: var(--mk-navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--mk-radius);
  padding: 2.5rem 2rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
  transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}
.mk-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  border-color: var(--mk-orange);
}
.mk-service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(244, 121, 32, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--mk-orange);
  margin: 0 auto;
  border: 2px solid rgba(244,121,32,0.3);
}
.mk-service-card h3 { color: var(--mk-white); font-weight: 700; }
.mk-service-card p  { color: rgba(255,255,255,0.75); }
.mk-service-card li { color: rgba(255,255,255,0.85); margin-bottom: 0.4rem; }

/* ── Contact section ───────────────────────────────────── */
.mk-contact { background: var(--mk-grey-bg); }

.mk-contact-list { margin: 0; padding: 0; }
.mk-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.mk-contact-list li i {
  font-size: 1.2rem;
  color: var(--mk-orange);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.mk-contact-list a {
  color: var(--mk-navy);
  text-decoration: none;
  font-weight: 500;
}
.mk-contact-list a:hover { color: var(--mk-orange); }

/* Form styling overrides */
.form-control {
  border: 1.5px solid #dde2ea;
  border-radius: 0.5rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color var(--mk-transition), box-shadow var(--mk-transition);
}
.form-control:focus {
  border-color: var(--mk-orange);
  box-shadow: 0 0 0 3px rgba(244,121,32,0.18);
}

/* ── Contact cards ─────────────────────────────────────── */
.mk-contact-card {
  background: #fff;
  border: 1.5px solid #e8ecf0;
  border-radius: var(--mk-radius);
  padding: 1.25rem 1.5rem;
  transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}
.mk-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mk-shadow-hov);
  border-color: rgba(244,121,32,0.35);
}
.mk-contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(244,121,32,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--mk-orange);
  flex-shrink: 0;
}
.mk-contact-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mk-text-muted);
}
.mk-contact-card__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mk-navy);
}

/* ── Footer ────────────────────────────────────────────── */
.mk-footer {
  background: var(--mk-navy);
  border-top: 3px solid var(--mk-orange);
}

/* ── Responsive tweaks ─────────────────────────────────── */
@media (max-width: 767.98px) {
  .mk-hero__wave { display: none; }
  .py-6 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}
