/* Happybus front page — style B */

:root {
  --hb-ink: #141414;
  --hb-charcoal: #1c1c1c;
  --hb-muted: #5c5c5c;
  --hb-paper: #f7f4ef;
  --hb-sun: #f0c419;
  --hb-sun-ink: #1a1500;
  --hb-white: #ffffff;
  --hb-overlay: rgba(12, 12, 12, 0.55);
  --hb-max: 1120px;
  --hb-font-display: "Outfit", sans-serif;
  --hb-font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.hb-home {
  margin: 0;
  font-family: var(--hb-font-body);
  color: var(--hb-ink);
  background: var(--hb-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.hb-home a {
  color: inherit;
  text-decoration: none;
}

.hb-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hb-sun);
  color: var(--hb-sun-ink);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.hb-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header — donkere balk zodat wit menu altijd leesbaar blijft */
.hb-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 0.85rem 1.5rem;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hb-header__inner {
  max-width: var(--hb-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hb-logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff !important;
  text-shadow: none;
  padding-bottom: 0.2rem;
}

.hb-logo__happy {
  color: var(--hb-sun);
}

.hb-logo__bus {
  color: #fff;
}

.hb-logo::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0.08em;
  bottom: 0;
  height: 0.18em;
  border-bottom: 3px solid var(--hb-sun);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  pointer-events: none;
}

.hb-nav {
  display: none;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hb-nav a {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}

.hb-nav a:hover,
.hb-nav .current-menu-item > a {
  color: var(--hb-sun);
}

.hb-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hb-white);
  cursor: pointer;
  font-size: 1.1rem;
}

.hb-nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 860px) {
  .hb-nav {
    display: flex;
  }

  .hb-nav-toggle {
    display: none;
  }
}

.hb-nav--open {
  display: flex;
  position: absolute;
  top: 100%;
  right: 1.5rem;
  left: 1.5rem;
  flex-direction: column;
  background: var(--hb-charcoal);
  padding: 1rem 1.25rem;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Hero */
.hb-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--hb-white);
  overflow: hidden;
}

.hb-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.08) 0%, rgba(10, 10, 10, 0.02) 38%, rgba(8, 8, 8, 0.38) 72%, rgba(8, 8, 8, 0.78) 100%),
    var(--hb-hero-image) center 38% / cover no-repeat;
  transform: scale(1.02);
  animation: hb-hero-in 1.4s ease-out both;
}

@keyframes hb-hero-in {
  from {
    transform: scale(1.08);
    opacity: 0.7;
  }
  to {
    transform: scale(1.02);
    opacity: 1;
  }
}

.hb-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4rem;
  animation: hb-copy-in 0.9s ease-out 0.15s both;
}

.hb-hero h1,
.hb-hero__lead,
.hb-kicker {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

@keyframes hb-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hb-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-sun);
  font-weight: 600;
}

.hb-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--hb-font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hb-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}

.hb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.hb-btn--sun {
  background: var(--hb-sun);
  color: var(--hb-sun-ink);
  border-color: var(--hb-sun);
}

.hb-btn--sun:hover {
  background: #ffd84a;
  border-color: #ffd84a;
}

.hb-btn--ghost {
  background: transparent;
  color: var(--hb-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.hb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Paths */
.hb-paths {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 780px) {
  .hb-paths {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 5rem 1.5rem;
  }
}

.hb-path h2 {
  margin: 0 0 0.65rem;
  font-family: var(--hb-font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}

.hb-path p {
  margin: 0 0 1.1rem;
  color: var(--hb-muted);
  max-width: 36ch;
}

.hb-path a {
  font-weight: 700;
  color: var(--hb-ink);
  border-bottom: 2px solid var(--hb-sun);
  padding-bottom: 0.1rem;
}

.hb-path a:hover {
  color: #000;
}

/* Contact strip */
.hb-contact {
  background: var(--hb-charcoal);
  color: var(--hb-white);
  padding: 2.5rem 1.5rem;
}

.hb-contact__inner {
  max-width: var(--hb-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.hb-contact h2 {
  margin: 0 0 0.35rem;
  font-family: var(--hb-font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.hb-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.hb-contact a {
  color: var(--hb-sun);
  font-weight: 700;
}

/* Footer */
.hb-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--hb-muted);
  background: var(--hb-paper);
}

.hb-footer strong {
  color: var(--hb-ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .hb-hero__media,
  .hb-hero__content {
    animation: none;
  }

  .hb-btn:hover {
    transform: none;
  }
}
