/* =========================================================
   HOME HERO
   TAXI TILBURG
   ========================================================= */

.home-hero {
  position: relative;
  isolation: isolate;

  min-height: 720px;

  overflow: hidden;

  background-color: #07101d;

  background-image:
    linear-gradient(
      90deg,
      rgba(6, 13, 24, 0.94) 0%,
      rgba(6, 13, 24, 0.78) 36%,
      rgba(6, 13, 24, 0.48) 64%,
      rgba(6, 13, 24, 0.30) 100%
    ),
    url("../../images/hero/taxi-tilburg-hero-achtergrond-w222-tilburg.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  color: #ffffff;
}


/* Extra donkere onderlaag voor leesbaarheid */

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(5, 11, 20, 0.04) 0%,
      rgba(5, 11, 20, 0.02) 55%,
      rgba(5, 11, 20, 0.34) 100%
    );
}


/* =========================================================
   HERO LAYOUT
   ========================================================= */

.home-hero__inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(360px, 0.78fr);

  align-items: center;

  gap: 56px;

  min-height: 720px;

  padding-top: 64px;
  padding-bottom: 64px;
}


/* =========================================================
   HERO CONTENT LINKS
   ========================================================= */

.home-hero__content {
  width: 100%;
  max-width: 680px;
}


/* Badge */

.home-hero__badge {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 26px;

  padding: 9px 14px;

  border:
    1px solid
    rgba(255, 255, 255, 0.18);

  border-radius: 999px;

  background:
    rgba(9, 19, 34, 0.72);

  font-size: 14px;
  font-weight: 700;

  color: #ffffff;
}


.home-hero__badge-dot {
  display: block;

  width: 7px;
  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: #0BBFFF;
}


/* Headline */

.home-hero h1 {
  max-width: 680px;

  margin: 0;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(
      48px,
      4.6vw,
      72px
    );

  line-height: 0.98;

  letter-spacing: -0.035em;

  color: #ffffff;
}


/* Intro */

.home-hero__lead {
  max-width: 560px;

  margin:
    26px
    0
    0;

  font-size: 17px;

  line-height: 1.7;

  color:
    rgba(
      255,
      255,
      255,
      0.88
    );
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.home-hero__actions {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}


.home-hero__button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding:
    0
    24px;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}


.home-hero__button:hover {
  transform: translateY(-1px);
}


/* Primary */

.home-hero__button--primary {
  background: #1055C8;

  color: #ffffff;
}


.home-hero__button--primary:hover {
  background: #0C46A8;
}


/* Secondary */

.home-hero__button--secondary {
  border:
    1px solid
    rgba(255, 255, 255, 0.34);

  background:
    rgba(7, 16, 29, 0.66);

  color: #ffffff;
}


.home-hero__button--secondary:hover {
  border-color:
    rgba(
      255,
      255,
      255,
      0.60
    );

  background:
    rgba(
      7,
      16,
      29,
      0.84
    );
}


/* =========================================================
   TRUST ITEMS
   ========================================================= */

.home-hero__trust {
  display: flex;

  flex-wrap: wrap;

  gap:
    22px
    30px;

  margin-top: 38px;
}


.home-hero__trust-item {
  display: flex;

  flex-direction: column;

  gap: 3px;
}


.home-hero__trust-item strong {
  font-size: 14px;

  line-height: 1.4;

  color: #ffffff;
}


.home-hero__trust-item span {
  font-size: 13px;

  line-height: 1.45;

  color:
    rgba(
      255,
      255,
      255,
      0.70
    );
}


/* =========================================================
   COMPACT BOOKING CARD
   ========================================================= */

.home-hero__booking {
  width: 100%;

  max-width: 470px;

  justify-self: end;

  padding: 28px;

  background:
    rgba(
      255,
      255,
      255,
      0.98
    );

  color: #1F2328;

  border:
    1px solid
    rgba(
      218,
      220,
      224,
      0.95
    );

  border-radius: 22px;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    0 5px 18px rgba(0, 0, 0, 0.10);
}


/* Booking header */

.home-hero__booking-header {
  margin-bottom: 22px;
}


.home-hero__booking-header h2 {
  margin: 0;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 28px;

  line-height: 1.1;

  color: #111418;
}


.home-hero__booking-header p {
  margin:
    8px
    0
    0;

  font-size: 14px;

  line-height: 1.55;

  color: #626A74;
}


/* =========================================================
   COMPACT BOOKING FORM
   ========================================================= */

.home-booking-form {
  display: grid;

  gap: 17px;
}


.home-booking-form__row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 14px;
}


.home-booking-form__field {
  display: grid;

  gap: 7px;

  min-width: 0;
}


.home-booking-form__field label {
  font-size: 13px;

  font-weight: 800;

  color: #1F2328;
}


.home-booking-form__field input {
  display: block;

  width: 100%;

  min-width: 0;

  height: 50px;

  box-sizing: border-box;

  padding:
    0
    14px;

  border:
    1px solid
    #DADCE0;

  border-radius: 12px;

  background: #ffffff;

  color: #1F2328;

  font: inherit;

  font-size: 15px;

  outline: none;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}


.home-booking-form__field input::placeholder {
  color: #6B7280;
}


.home-booking-form__field input:focus {
  border-color: #1055C8;

  box-shadow:
    0 0 0 3px
    rgba(
      16,
      85,
      200,
      0.12
    );
}
.home-booking-form__field input[type="date"],
.home-booking-form__field input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 50px;
  box-sizing: border-box;
  text-align: left;
}

.home-booking-form__field input[type="date"]::-webkit-date-and-time-value,
.home-booking-form__field input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.2em;
}

/* Submit */

.home-booking-form__submit {
  width: 100%;

  min-height: 54px;

  margin-top: 3px;

  padding:
    0
    20px;

  border: 0;

  border-radius: 12px;

  background: #1055C8;

  color: #ffffff;

  font: inherit;

  font-size: 15px;

  font-weight: 800;

  cursor: pointer;

  transition:
    background-color
    0.16s ease;
}


.home-booking-form__submit:hover {
  background: #0C46A8;
}


.home-booking-form__submit:focus-visible {
  outline:
    3px solid
    rgba(
      16,
      85,
      200,
      0.28
    );

  outline-offset: 3px;
}


/* Note */

.home-booking-form__note {
  margin: 0;

  font-size: 12.5px;

  line-height: 1.5;

  color: #6B7280;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .home-hero {
    min-height: auto;

    background-position:
      58%
      center;
  }


  .home-hero__inner {
    grid-template-columns:
      minmax(0, 1fr);

    gap: 42px;

    min-height: auto;

    padding-top: 72px;
    padding-bottom: 72px;
  }


  .home-hero__content {
    max-width: 700px;
  }


  .home-hero__booking {
    width: min(
      100%,
      560px
    );

    max-width: 560px;

    justify-self: start;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

.home-hero {
  min-height: auto;

  background-image:
    linear-gradient(
      180deg,
      rgba(6, 13, 24, 0.58) 0%,
      rgba(6, 13, 24, 0.66) 48%,
      rgba(6, 13, 24, 0.84) 100%
    ),
    url("../../images/hero/taxi-tilburg-hero-mobile-map.webp");

  background-size: cover;

  background-position:
    62%
    center;
}


  .home-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 11, 20, 0.02) 0%,
        rgba(5, 11, 20, 0.12) 60%,
        rgba(5, 11, 20, 0.40) 100%
      );
  }


  .home-hero__inner {
    gap: 34px;

    padding-top: 44px;
    padding-bottom: 48px;
  }


  .home-hero__badge {
    margin-bottom: 20px;

    padding:
      8px
      12px;

    font-size: 12px;
  }


  .home-hero h1 {
    font-size:
      clamp(
        38px,
        11.5vw,
        52px
      );

    line-height: 1.02;

    letter-spacing: -0.03em;
  }


  .home-hero__lead {
    margin-top: 20px;

    font-size: 15px;

    line-height: 1.6;
  }


  .home-hero__actions {
    display: grid;

    grid-template-columns: 1fr;

    width: 100%;

    max-width: 330px;

    margin-top: 24px;
  }


  .home-hero__button {
    width: 100%;

    box-sizing: border-box;
  }


  .home-hero__trust {
    gap:
      18px
      24px;

    margin-top: 28px;
  }


  .home-hero__trust-item {
    min-width: 120px;
  }


  .home-hero__booking {
    width: 100%;

    max-width: none;

    box-sizing: border-box;

    padding:
      22px
      18px;

    border-radius: 18px;

    justify-self: stretch;
  }


  .home-hero__booking-header {
    margin-bottom: 19px;
  }


  .home-hero__booking-header h2 {
    font-size: 24px;
  }


  .home-booking-form {
    gap: 15px;
  }


  .home-booking-form__row {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .home-booking-form__field input {
    height: 50px;

    font-size: 16px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .home-hero__inner {
    padding-top: 36px;
    padding-bottom: 40px;
  }


  .home-hero h1 {
    font-size:
      clamp(
        35px,
        11vw,
        44px
      );
  }


  .home-hero__trust {
    display: grid;

    grid-template-columns:
      1fr
      1fr;

    width: 100%;
  }


  .home-hero__trust-item:last-child {
    grid-column:
      1 /
      -1;
  }


  .home-hero__booking {
    padding:
      20px
      16px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .home-hero__button,
  .home-booking-form__submit,
  .home-booking-form__field input {
    transition: none;
  }


  .home-hero__button:hover {
    transform: none;
  }

}

/* =========================================================
   HOME BOOKING AUTOCOMPLETE
   ========================================================= */

.home-booking-autocomplete {
  position: relative;
}


.home-booking-suggestions {
  position: absolute;

  top: calc(100% + 6px);
  left: 0;
  right: 0;

  z-index: 50;

  overflow-y: auto;
  overflow-x: hidden;

  max-height: 280px;

  border: 1px solid #DADCE0;
  border-radius: 12px;

  background: #ffffff;

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.16);
}


.home-booking-suggestion {
  display: flex;

  flex-direction: column;

  width: 100%;

  gap: 3px;

  padding: 12px 14px;

  border: 0;
  border-bottom: 1px solid #EEF1F4;

  background: #ffffff;

  text-align: left;

  cursor: pointer;

  font: inherit;
}


.home-booking-suggestion:last-child {
  border-bottom: 0;
}


.home-booking-suggestion:hover,
.home-booking-suggestion.is-active {
  background: #EAF1FC;
}


.home-booking-suggestion__main {
  font-size: 14px;

  font-weight: 700;

  color: #1F2328;
}


.home-booking-suggestion__secondary {
  font-size: 12.5px;

  line-height: 1.4;

  color: #6B7280;
}

/* =========================================================
   HOMEPAGE PRIJSINDICATIE
   Voorkomt layout-shift tijdens routeberekening
   ========================================================= */

.home-booking-estimate {
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid #DADCE0;
  border-radius: 12px;
  background: #F8F9FA;
  box-sizing: border-box;
}

.home-booking-estimate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-booking-estimate__label {
  font-size: 13px;
  font-weight: 600;
  color: #444B54;
}

.home-booking-estimate__price {
  font-size: 17px;
  font-weight: 700;
  color: #1055C8;
  text-align: right;
}

.home-booking-estimate__route {
  margin-top: 5px;
  font-size: 13px;
  color: #444B54;
}

.home-booking-estimate__note {
  margin: 7px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #6B7280;
}

/* Homepage visual refinement: keep primary Taxi Tilburg H1 prominent without overpowering booking card. */
@media (min-width: 1001px) {
  .home-hero__content {
    max-width: 650px;
  }

  .home-hero h1 {
    max-width: 650px;
    font-size: clamp(50px, 4.05vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.032em;
  }
}

/* Soort vervoer (auto of bus) in het boekingsformulier op de startpagina */
.home-booking-vehicle { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-booking-vehicle legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #1F2328; }
.home-booking-vehicle__option { position: relative; display: block; cursor: pointer; }
.home-booking-vehicle__option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.home-booking-vehicle__option span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid #DADCE0; border-radius: 12px; background: #ffffff; color: #1F2328; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.home-booking-vehicle__option strong { font-size: 15px; }
.home-booking-vehicle__option small { font-size: 12.5px; color: #5F6368; }
.home-booking-vehicle__option:hover span { border-color: #1055C8; }
.home-booking-vehicle__option:has(input:checked) span { border-color: #1055C8; background: #EAF1FC; box-shadow: 0 0 0 3px rgba(16, 85, 200, .15); }
.home-booking-vehicle__option:has(input:focus-visible) span { outline: 3px solid #1055C8; outline-offset: 2px; }

/* Aantal personen bij de keuze Bus (startpagina) */
.home-booking-people { margin: 0 0 14px; }
.home-booking-people[hidden] { display: none; }
.home-booking-people label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: #1F2328; }
.home-booking-people input { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid #DADCE0; border-radius: 12px; font: inherit; font-size: 16px; color: #1F2328; background: #ffffff; }
.home-booking-people input:focus-visible { outline: 3px solid #1055C8; outline-offset: 2px; }
.home-booking-people small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: #5F6368; }
