/* Taxi Haarlemmermeer */

@font-face {
  font-family: "Work Sans";
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/work-sans.woff2) format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/work-sans-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Ubuntu Condensed";
  font-display: swap;
  src: url(../fonts/ubuntu-condensed.woff2) format("woff2");
}

:root {
  --blue: #004987;
  --orange: #ed672c;
  --gradient: linear-gradient(124deg, var(--blue) 29%, var(--orange) 76%);
  --heading: "Ubuntu Condensed", sans-serif;
}

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

body {
  margin: 0;
  background: #fff;
  color: #000;
  font: 300 19px/1.5 "Work Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a {
  color: var(--orange);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
a:hover { color: var(--blue); }

p { margin: 0 0 14.4px; }

h1, h2, h3, h4 {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 10px; }
.wrap.narrow { max-width: 900px; }
.center { margin: 0; text-align: center; }

.title { font-size: 40px; text-align: center; }
.intro { max-width: 880px; margin: 0 auto; padding: 10px 0; text-align: center; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--orange);
  border: 3px solid var(--orange);
  border-radius: 100px;
  color: #fff;
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: background .3s, border-color .3s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fbfbfb; }
.btn img { width: 16px; }
.btn-sm { padding: 12px 24px; border: 0; font-size: 16px; }
.btn-lg { padding: 20px 40px; font-size: 18px; line-height: 18px; }
.btn-blue { background: var(--blue); }

/* Top bars */

.mobilebar { display: none; }

.topbar {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 10px;
  background: var(--orange);
  list-style: none;
}
.topbar li {
  display: flex;
  align-items: center;
  margin: 0 8px;
  color: #fff;
  font: 16px/24px var(--heading);
}
.topbar .i { width: 14px; height: 14px; margin: 0 7px 0 2px; fill: #fff; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .09);
}
.site-header > * { margin: 10px; }
.logo { flex: 0 0 calc(22.415% - 20px); }
.logo img { width: 100%; }
.menu { flex: 0 0 calc(49.041% - 20px); }
.site-header .btn-sm { flex: 0 0 calc(13.54% - 20px); }
.site-header .btn-blue { flex-basis: calc(14.953% - 20px); }
.menu-toggle, .menu-button { display: none; }

.menu ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.menu li { position: relative; display: flex; }
.menu > ul > li:not(:last-child)::after {
  content: "";
  align-self: center;
  height: 35%;
  border-left: 2px dotted var(--orange);
}
.menu a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.menu a:hover, .menu a.active { color: var(--orange); }
.menu .lang > a { height: 44px; }
.menu .lang > a::after {
  content: "";
  margin-left: 15px;
  border: 5px solid transparent;
  border-top-color: var(--blue);
  border-bottom: 0;
}
.menu .lang ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .09);
}
.menu .lang:hover ul, .menu .lang:focus-within ul { display: block; }

/* Slideshow behind hero and page banners */

.hero, .banner, .band, .site-footer { position: relative; overflow: hidden; color: #fff; }
.hero::after, .banner::after, .band::after, .site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: .82;
}
.hero > .wrap, .banner > .wrap, .band > .wrap, .site-footer > .wrap { position: relative; z-index: 1; }

.slides span {
  position: absolute;
  inset: 0;
  background: center / cover;
  animation: slide 15s linear infinite;
}
.slides span:nth-child(1) { background-image: url(../img/slide-schiphol.jpg); }
.slides span:nth-child(2) { background-image: url(../img/slide-taxi.jpg); animation-delay: -10s; }
.slides span:nth-child(3) { background-image: url(../img/slide-road.jpg); animation-delay: -5s; }

@keyframes slide {
  0% { opacity: 1; transform: scale(1); }
  33.3% { opacity: 1; }
  36.6% { opacity: 0; transform: scale(1.08); }
  96.6% { opacity: 0; transform: scale(1); }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .slides span { animation: none; opacity: 0; }
  .slides span:first-child { opacity: 1; }
}

/* Home */

.hero { padding: 100px 10px; }
.hero .wrap { max-width: 1140px; padding: 0; }
.hero-text { width: 66.316%; padding: 10px; }
.hero h1 { color: #fff; font-size: 60px; font-weight: 600; }
.hero p { margin-bottom: 34.4px; font-size: 25px; }
.hero strong { font-weight: 400; }

.services, .reviews { padding: 60px 10px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px 20px;
  max-width: 1140px;
  margin: 0 auto -22px;
  padding: 72px 10px 0;
}
.card {
  position: relative;
  padding: 85px 30px 64px;
  background: #fff;
  border: 1px solid #fbfbfb;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
  text-align: center;
}
.card-icon { position: absolute; top: -33px; left: 50%; width: 100px; margin-left: -50px; }
.card h3 { margin-bottom: 16px; font-weight: 600; }
.card p { margin-bottom: 25px; font-size: 16px; line-height: 1.5; }
.badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  background: var(--orange);
  color: #fff;
  font: 500 11.3px/1 var(--heading);
}

.band { padding: 60px 10px; background: url(../img/polder.jpg) center / cover; }
.band .title { color: #fff; }

.ptables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1140px;
  margin: 0 auto 60px;
}
.ptable { position: relative; overflow: hidden; margin: 10px 50px 10px 10px; background: #f9fafa; text-align: center; }
.ptable h3 { margin: 0; padding: 20px 0; background: var(--orange); color: #fff; font-size: 24px; font-weight: 600; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 40px 0 54px;
  background: rgba(255, 255, 255, .09);
  color: #555;
  font-size: 65px;
  font-weight: 800;
}
.price .cur { align-self: flex-start; margin-right: 3px; font-size: .3em; line-height: 1; }
.price .amount { line-height: .8; }
.price .period { width: 100%; font-size: 16px; font-weight: 400; line-height: normal; }
.ribbon { position: absolute; top: 0; right: 0; width: 150px; height: 150px; overflow: hidden; transform: rotate(90deg); }
.ribbon span {
  display: block;
  width: 200%;
  margin-top: 35px;
  background: var(--blue);
  color: #fff;
  font: 800 13px/2 var(--heading);
  text-align: center;
  text-transform: uppercase;
  transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
}

.review-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  margin: 0 0 60px;
  padding-bottom: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.review { margin: 0; background: #fff; border: 1px solid #e1e8ed; border-radius: 10px; scroll-snap-align: start; }
.review-head { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid #e1e8ed; }
.review-head img { border-radius: 50%; }
.review cite {
  display: flex;
  flex-direction: column;
  margin-left: 9px;
  color: var(--blue);
  font: normal 600 18px/1.6 var(--heading);
}
.stars { color: var(--orange); font-size: 12px; line-height: 1.5; letter-spacing: 3px; }
.review p { margin: 0; padding: 20px; font-size: 16px; line-height: 20px; }

/* Inner pages */

.banner { padding: 100px 10px; }
.banner .wrap { max-width: 1140px; }
.banner h1 { margin: 0; color: #fff; font-size: 60px; font-weight: 300; line-height: 1; text-transform: none; }

.text-section { padding: 60px 10px; }
.text-section.light { padding: 100px 10px 50px; background: #fbfbfb; }
.text-section.tariffs { padding: 100px 10px; }
.tariffs .wrap { padding: 0 10px 60px; }
.text { display: flow-root; margin-bottom: 20px; }
.wrap > :last-child { margin-bottom: 0; }
.text ul { margin: 0 0 14.4px; }

.price-lists { padding: 100px 10px; background: #f3f3f3; }
.price-lists .wrap { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.price-lists .wrap > div { margin-right: 60px; padding: 10px; }
.price-lists h2 { color: var(--orange); font-size: 30px; }
.price-list { margin: 0; padding: 0; list-style: none; }
.price-list li { display: flow-root; margin-bottom: 20px; }
.price-list li:last-child { margin-bottom: 0; }
.pl-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--blue);
  font: 600 25px/1.5 var(--heading);
}
.pl-row i { flex-grow: 1; margin: 0 10px; border-bottom: 2px dotted; }
.price-list p { margin: 0; font-size: 18px; }


.rate-list { margin: 0 0 20px; padding: 0; list-style: none; }
.rate-list li { position: relative; display: flex; align-items: center; padding-bottom: 10px; }
.rate-list li + li { margin-top: 10px; }
.rate-list li:last-child { padding-bottom: 0; }
.rate-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  margin: auto;
  border-top: 2px dotted var(--blue);
}
.rate-list img { width: 18px; margin-right: 9.5px; }

.booking { display: block; width: 100%; min-height: 400px; height: 1px; border: 0; }

.contact { padding: 60px 10px; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-box { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-box img { width: 64px; }
.contact-box h3 { margin: 8px 0 10px; font-weight: 600; }
.contact-box p { margin: 0; }
.map { width: 100%; height: 450px; border: 0; }

/* Footer */

.site-footer { padding: 0 20px 80px; background: var(--orange) url(../img/windmill.jpg) center / cover; overflow: visible; }
.site-footer .wrap { display: flex; padding: 0; }
.site-footer .col { padding: 10px; }
.col-1 { width: 29.833%; }
.col-2 { width: 22.833%; }
.col-3 { width: 24.865%; }
.col-4 { width: 22.417%; }
.footer-logo {
  display: block;
  margin: -50px 0 70px;
  padding: 15px 30px 30px;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .09);
  text-align: center;
}
.site-footer .col:not(.col-1) { padding-top: 120px; }
.site-footer h3 { color: #fff; }
.site-footer p { margin-bottom: 34.4px; font-size: 16px; line-height: 24px; }
.keurmerk { width: 150px; }

.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li, .footer-list a { display: flex; align-items: center; }
.footer-list li { padding-bottom: 5px; color: #fff; font-size: 16px; line-height: 24px; }
.footer-list a { color: #fff; font-size: 16px; line-height: 24px; }
.footer-list .i { flex: none; width: 14px; height: 14px; margin: 0 2px; fill: #fff; }
.footer-list img { width: 14px; margin: 0 2px; }
.footer-list span { padding-left: 5px; }
.footer-list strong { font-weight: 400; }

.bottombar { padding: 20px 20px 40px; background: var(--blue); }
.bottom-list { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.bottom-list li { margin: 0 8px; }
.bottom-list a { display: flex; align-items: center; color: #fff; font-size: 15px; font-weight: 400; line-height: 1.5; letter-spacing: .5px; }
.bottom-list img { width: 20px; margin-right: 5px; }
.bottom-list span { padding-left: 5px; }

/* Tablet */

@media (max-width: 1024px) {
  .site-header { flex-wrap: wrap; }
  .menu-button {
    display: flex;
    margin-left: auto;
    padding: 7.5px;
    cursor: pointer;
  }
  .menu-button img { width: 30px; }
  .menu-button .close { display: none; position: relative; width: 30px; height: 30px; }
  .menu-button .close::before, .menu-button .close::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 3px;
    width: 24px;
    height: 3px;
    background: var(--blue);
    transform: rotate(45deg);
  }
  .menu-button .close::after { transform: rotate(-45deg); }
  .menu-toggle:checked + .menu-button .open { display: none; }
  .menu-toggle:checked + .menu-button .close { display: block; }
  .site-header .menu {
    display: none;
    order: 10;
    flex: 0 0 100%;
    margin: 0 -20px -10px;
    background: #fff;
  }
  .menu-toggle:checked ~ .menu { display: block; }
  .menu ul { display: block; }
  .menu > ul > li:not(:last-child)::after { display: none; }
  .menu a { padding: 15px 20px; }
  .menu a.active { background: var(--orange); color: #fff; }
  .menu .lang ul { position: static; display: block; box-shadow: none; }
  .menu .lang > a::after { display: none; }

  .cards .card { padding: 60px 20px 54px; }
  .card h3 { padding: 0 20px; font-size: 18px; }
  .card p { margin-bottom: 20px; font-size: 15px; }
  .ptable { margin-right: 25px; }
  .review-list { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .site-footer .wrap { flex-wrap: wrap; }
  .site-footer .col { width: 50%; }
  .footer-logo { display: none; }
  .site-footer { padding-top: 80px; }
  .site-footer .col:not(.col-1) { padding-top: 10px; }
}

/* Mobile */

@media (max-width: 767px) {
  .hide-mobile, .topbar, .site-header .btn-sm { display: none; }
  .mobilebar { display: flex; background: var(--blue); }
  .mobilebar a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 3.5px;
    padding: 10px;
    color: #fff;
    font-size: 17px;
  }
  .mobilebar a:first-child { background: var(--orange); }
  .mobilebar img { width: 14px; }
  .site-header .logo { flex: 0 1 calc(80% - 20px); }
  .intro { padding: 10px; }
  .logo img { width: 93%; }

  h2, .title { font-size: 32px; }
  .hero, .band, .reviews { padding: 40px 10px; }
  .services { padding: 19px 9.5px 38px; }
  .hero-text { width: 100%; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 20px; }

  .cards, .ptables, .price-lists .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .cards { gap: 60px; padding: 50px 10px 0; margin-bottom: 0; }
  .cards .card { padding: 50px 20px 60px; }
  .site-header { min-height: 95px; }
  .card h3 { font-size: 24px; }
  .card p { font-size: 17px; }
  .ptable { margin: 15px 10px; }
  .review-list { grid-auto-columns: 100%; }

  .banner { padding: 60px 10px; }
  .banner h1 { font-size: 40px; }
  .price-lists .wrap > div { margin-right: 0; }
  .pl-row { font-size: 23px; }

  .site-footer .col { width: 100%; padding-bottom: 50px; }
  .site-footer .col:last-child { padding-bottom: 10px; }
  .bottombar { padding: 20px 30px; }
  .bottom-list { flex-direction: column; }
  .bottom-list li { margin: 0; padding-bottom: 5px; }
}
