/* ---------------------------------------------
   All Prof Cleaning — stylesheet
--------------------------------------------- */

:root {
  /* Brand colours — the vivid green + blue from the logo, kept vivid on purpose */
  --color-primary: #0ed145;
  --color-primary-dark: #0a7a2b;
  --color-primary-light: #d7f9e1;
  --color-accent: #3f47cc;
  --color-accent-dark: #2c3299;
  --color-accent-light: #e3e5fb;

  /* Neutrals */
  --color-ink: #1c2230;
  --color-body: #4b5566;
  --color-muted: #6b7484;
  --color-bg: #f3f5f8;
  --color-surface: #ffffff;
  --color-border: #e3e7ed;

  /* Misc */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.12);
  --container: 1120px;
  --header-height: 88px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-body);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5 {
  color: var(--color-ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
}

hr {
  display: none;
}

section {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--color-primary);
  color: #06390f;
}

.btn-small {
  padding: 0.55em 1.2em;
  font-size: 0.9rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 62px;
  width: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.6em 1em;
  border-radius: 999px;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.98rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background-color: var(--color-primary);
  color: #06390f;
}

.site-nav a.is-active {
  background-color: var(--color-accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle span {
  top: 20px;
}

.nav-toggle::after {
  top: 26px;
}

.nav-toggle.is-active::before {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle.is-active span {
  opacity: 0;
}

.nav-toggle.is-active::after {
  top: 20px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 560px);
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(
      165deg,
      rgba(63, 71, 204, 0.62),
      rgba(20, 22, 64, 0.85)
    ),
    url("../images/BusCard_NoText_blur.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6bf29e;
  margin-bottom: 0.75em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3rem);
  margin-bottom: 0.4em;
}

.hero .tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Sections ---------- */
main {
  display: block;
  overflow: hidden;
}

.section {
  padding: 4.5rem 0;
}

#sectionOver {
  background-color: var(--color-surface);
}

#sectionDiensten {
  background-color: var(--color-primary-light);
}

#sectionContact {
  background-color: var(--color-accent-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.section-head p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose p {
  font-size: 1.05rem;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background-color: var(--color-primary);
  color: #06390f;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55em 1em;
  border-radius: 999px;
}

.highlights li:nth-child(2n) {
  background-color: var(--color-accent);
  color: #fff;
}

.highlights svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ---------- Cards (generic) ---------- */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Services ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.service-card {
  flex: 1 1 320px;
  max-width: 440px;
  padding: 2rem;
  text-align: left;
  border-top: 4px solid var(--color-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary);
  color: #06390f;
  margin-bottom: 1.1rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75em;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.55em;
  color: var(--color-body);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.service-card.single {
  flex-basis: 100%;
  max-width: 560px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.company-card {
  width: 100%;
  max-width: 640px;
  padding: 2rem 2.25rem;
  text-align: left;
  border-top: 4px solid var(--color-accent);
}

.company-card h3 {
  font-size: 1.25rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.98rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--color-accent);
}

.info-list a:hover {
  text-decoration: underline;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.person-card {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-top: 4px solid var(--color-accent);
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--color-accent-light);
}

.person-card h4 {
  margin-bottom: 0.15em;
  font-size: 1.05rem;
}

.person-card .role {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.9em;
}

.person-card .contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 0.92rem;
  margin-bottom: 0.4em;
}

.person-card .contact-line svg {
  width: 1em;
  height: 1em;
  color: var(--color-accent);
  flex-shrink: 0;
}

.person-card a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-accent-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.75rem 1.5rem 2rem;
  border-top: 4px solid var(--color-primary);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.site-footer .footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-accent-dark);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 260px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.85em 1em;
  }

  .hero {
    padding: 3rem 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 0.95rem;
  }

  .company-card {
    padding: 1.75rem 1.5rem;
  }
}
