/* Kacayias Chauffeured Services – site styles. Mobile first; breakpoints at 40em, 48em and 62em. */

@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap; src: url(../fonts/open-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap; src: url(../fonts/open-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap; src: url(../fonts/open-sans-greek.woff2) format("woff2");
  unicode-range: U+0370-03FF; }
@font-face { font-family: Quicksand; font-weight: 300 700; font-display: swap; src: url(../fonts/quicksand-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #0e0808;
  --gold: #f5a700;
  --panel: #3d3d3d;
  --bar: #222;
  --foot: #4d4d4d;
  --mute: #a5a5a5;
  --green: #6fae3a;
}

*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font: 16px/1.9 "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0 0 .6em; font-weight: 400; line-height: 1.3; }
h1, h2 { color: var(--gold); font-size: 2rem; }
h3 { font-size: 1.625rem; }
p, ul { margin: 0 0 1.2em; }
.icon { width: 1em; height: 1em; fill: currentColor; }
.center { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 14px; background: #fff; color: #000; }

.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.wrap.prose { max-width: 975px; }
.prose ul { padding-left: 1.2em; }
.lead { font-size: 1.1rem; }
main > .wrap:first-child { padding-top: 28px; }
.block { padding-top: 24px; padding-bottom: 24px; }
.notice { padding: 10px 14px; border-left: 4px solid var(--green); background: #16240f; }
.notice--err { border-color: #e5533d; background: #2a110d; }

/* buttons */
.btn { display: inline-block; padding: 10px 26px; border: 2px solid var(--gold); background: var(--gold); color: #000; font-family: inherit; font-weight: 600; font-size: .8125rem; line-height: 1.6;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: #fff; color: #000; }
.btn--white { background: #fff; border-color: #fff; }
.btn--white:hover, .btn--white:focus-visible { background: transparent; color: #fff; }

/* header: one grid.
   Mobile : logo / caption / [menu button ........ icons + language switch] / menu
   Desktop: logo | caption | icon column (as tall as the logo), menu underneath */
.social { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.social a { color: #fff; font-size: 18px; display: block; line-height: 0; padding: 4px; }
.social a:hover { color: var(--gold); }

.head__in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo logo" "caption caption" "burger tools" "menu menu";
  justify-items: center; row-gap: 12px; padding-top: 14px; }
.logo { grid-area: logo; display: block; line-height: 0; }
.caption { grid-area: caption; width: 598px; }
.burger { grid-area: burger; justify-self: stretch; display: flex; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-top: 1px solid #333; background: none; color: #fff;
  font-family: inherit; font-weight: 600; font-size: .875rem; line-height: 1; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.burger::before { content: ""; width: 24px; height: 18px; background: linear-gradient(#fff 0 0) 0 0 / 100% 2px, linear-gradient(#fff 0 0) 0 50% / 100% 2px, linear-gradient(#fff 0 0) 0 100% / 100% 2px; background-repeat: no-repeat; }
.tools { grid-area: tools; justify-self: end; align-self: stretch; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; border-top: 1px solid #333; list-style: none; }
.tools li { display: grid; place-items: center; }
.tools a:not(.langsw) { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; line-height: 0; }
.tools a:not(.langsw):hover { color: var(--gold); }
.tools .icon { width: 22px; height: 22px; }

/* language switch: a link that looks like a slider; the gold knob sits under the current language */
.langsw { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: 66px; height: 26px; margin-left: 10px;
  border: 1px solid #7a7a7a; border-radius: 13px; background: #1c1717; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .05em; line-height: 1; text-align: center; text-decoration: none; }
.langsw span { position: relative; z-index: 1; }
.langsw .is-on { color: #000; }
.langsw__knob { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 11px; background: var(--gold); transition: transform .25s; }
.langsw[data-state="el"] .langsw__knob { transform: translateX(100%); }
.langsw:hover, .langsw:focus-visible { border-color: var(--gold); }

.menu { grid-area: menu; justify-self: stretch; display: none; padding-bottom: 8px; }
.menu.is-open { display: block; }
.menu ul { margin: 0; padding: 0; list-style: none; }
.menu a { display: block; padding: 8px 0; color: #fff; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .9375rem; }
.menu a:hover, .menu a.is-active { color: var(--gold); }

/* hero slider */
.hero { position: relative; background: #000; }
.hero__slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide > img, .hero__slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide > video { opacity: 0; transition: opacity .6s; }
.hero__slide > video.is-playing { opacity: 1; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); pointer-events: none; }
.hero__slide--video::after, .hero__slide--century::after { content: none; }
.hero__text { position: relative; z-index: 1; padding: 0 56px; text-align: center; }
.hero__text h2 { margin: 0 0 .3em; color: #fff; font: 400 clamp(1.6rem, 6.5vw, 4.375rem)/1.1 Quicksand, "Open Sans", sans-serif; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.hero__text p { margin: 0 0 1.4em; font-size: .875rem; letter-spacing: .25em; text-transform: uppercase; }
.hero__slide--century { background: #000; align-content: center; gap: 12px; text-align: center; }
.hero__slide--century a { position: relative; z-index: 1; display: block; width: min(746px, 80%); }
.hero__slide--century img { position: static; width: 100%; height: auto; object-fit: contain; }
.hero__slide--century p { position: relative; z-index: 1; margin: 0; padding: 0 56px; font-size: .875rem; line-height: 1.6; }
.hero__slide--century span { color: var(--gold); letter-spacing: .08em; }
.hero__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff; font-size: 24px; cursor: pointer; }
.hero__nav:hover, .hero__nav:focus-visible { background: var(--gold); color: #000; }
.hero__nav--prev { left: 8px; }
.hero__nav--next { right: 8px; }
.hero--tours .hero__slides { aspect-ratio: 16 / 9; }
@media (min-width: 40em) { .hero--tours .hero__slides { aspect-ratio: auto; height: min(36vw, 60vh); } }

/* home blocks */
.split { display: grid; gap: 20px; align-items: center; }
.split__img img { width: 100%; }
.panel { padding: 32px 15px; border-radius: 12px; background: var(--panel); text-align: center; }
.panel__lead { color: #ddd; }
.panel__more { margin: 28px 0 0; }

.cards { display: grid; gap: 24px; margin: 0 0 1.2em; padding: 0; list-style: none; text-align: center; }
.card a { color: #fff; text-decoration: none; }
.card > a { display: block; overflow: hidden; border-radius: 4px; background: var(--c, #333); aspect-ratio: 600 / 545; }
.card > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card > a:hover img { transform: scale(1.04); }
.card h2, .card h3 { margin: 14px 0 2px; color: #fff; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.card h2 a:hover, .card h3 a:hover { color: var(--gold); }
.card p { margin: 0; color: var(--mute); font-size: .875rem; line-height: 1.5; }
.cards--page { margin-top: 12px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 20px; padding: 0; list-style: none; }
.filter a { color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid transparent; }
.filter a:hover, .filter a.is-active { color: var(--gold); border-color: var(--gold); }
.card[hidden] { display: none; }

/* carousel (testimonials, fleet) */
.carousel__track { display: flex; gap: 30px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0; }
.carousel__dots button { width: 12px; height: 12px; padding: 0; border: 2px solid var(--gold); border-radius: 50%; background: none; cursor: pointer; }
.carousel__dots button[aria-current="true"] { background: var(--gold); }
.carousel--fleet .carousel__item { position: relative; }
.carousel--fleet img { width: 100%; }
.carousel--fleet figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 18px; background: rgba(0, 0, 0, .65); font-size: .9375rem; line-height: 1.4; }
.carousel .quote__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; overflow: hidden; }

/* testimonials */
.quotes { display: grid; gap: 36px; padding: 10px 0 40px; }
.quote { margin: 0; }
.quote .icon { width: 34px; height: 34px; color: var(--green); }
.quote__text { font-style: italic; }
.quote__text p { margin-bottom: .8em; }
.quote footer { display: grid; line-height: 1.5; }
.quote time { color: var(--gold); font-size: .875rem; }
.quote strong { color: var(--gold); }
.quote span { color: var(--mute); font-size: .875rem; }

/* inner pages */
.banner img { width: 100%; }
.banner { margin-bottom: 28px; }
.ticks { list-style: none; padding-left: 0 !important; }
.ticks li { position: relative; padding-left: 1.4em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .85em; width: .55em; height: .55em; border-radius: 50%; background: var(--gold); }
.certs { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: flex-start; }
.certs h3 { font-size: 1.125rem; margin: 0; }
.certs ul { margin: 0; padding-left: 1.2em; font-size: .9375rem; }
.services { padding-bottom: 20px; }
.service { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0; border-top: 1px solid #2c2424; }
.service img { flex: none; }
.service > div { flex: 1 1 260px; }
.service h2 { margin-bottom: .2em; font-size: 1.5rem; }
.service p { margin: 0; }
.links { list-style: none; padding-left: 0 !important; }
.crumb { margin-bottom: 1em; font-size: .9375rem; }
.tour h1 { margin-bottom: .8em; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 10px 0 40px; padding: 0; list-style: none; }
.gallery li { background: var(--c, #333); aspect-ratio: 3 / 2; overflow: hidden; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.legal h2 { margin-top: 1.4em; font-size: 1.5rem; }
.legal h3 { margin-top: 1em; font-size: 1.125rem; color: #fff; font-weight: 600; }

/* contact */
.contact__cols { display: grid; gap: 30px; }
.contact__info address { font-style: normal; }
.contact__info strong { display: block; line-height: 1.5; }
.contact__info h2 { font-size: 1.5rem; }
.form label { display: block; margin-bottom: 18px; }
.form label span { display: block; color: var(--mute); font-size: .875rem; }
.form input, .form textarea { width: 100%; padding: 6px 0; border: 0; border-bottom: 1px solid #8a8a8a; border-radius: 0; background: transparent; color: #fff; font: inherit; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--gold); }
.form textarea { resize: vertical; }
.form .err { display: block; color: #ff8a7a; font-size: .875rem; }
.form__note { color: var(--mute); font-size: .8125rem; line-height: 1.6; }
.hp { position: absolute; left: -9999px; }
.map { display: block; width: 100%; height: 500px; margin: 40px 0; border: 0; background: var(--bar); }
[data-typed]::after { content: ""; }
[data-typed].is-typing::after { content: "|"; color: var(--gold); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* footer */
.foot { margin-top: 40px; background: var(--foot); }
.foot__cols { display: grid; gap: 28px 30px; padding-top: 40px; padding-bottom: 30px; }
.foot h2 { margin-bottom: .8em; font-size: 1.0625rem; font-weight: 600; text-transform: uppercase; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: .4em; line-height: 1.5; }
.foot a { color: #fff; font-size: .875rem; text-decoration: none; text-transform: uppercase; }
.foot a:hover, .foot a.is-active { color: var(--gold); }
.foot__certs { display: grid; gap: 14px; align-content: start; }
.foot__certs img { width: auto; max-width: 100%; }
.foot__bar { background: #3a3a3a; font-size: .8125rem; }
.foot__bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.foot__bar p { margin: 0; line-height: 1.5; }
.foot__bar span { white-space: nowrap; }
.foot__bar a { font-size: inherit; text-transform: none; color: var(--gold); }
.social--round a { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 17px; }
.social--round a:hover { color: #fff; opacity: .8; }
.s-phone { background: #4cae4c; }
.s-mail { background: #8a8a8a; }
.s-fb { background: #3b5998; }

/* cookie banner */

/* lightbox */
.lb { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lb::backdrop { background: rgba(0, 0, 0, .92); }
.lb__img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 26px; cursor: pointer; }
.lb button:hover, .lb button:focus-visible { background: var(--gold); color: #000; }
.lb__close { top: 12px; right: 12px; }
.lb__prev { top: 50%; left: 10px; margin-top: -22px; }
.lb__next { top: 50%; right: 10px; margin-top: -22px; }

@media (min-width: 40em) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .hero__slides { aspect-ratio: auto; height: min(56.25vw, 80vh); }
}

@media (min-width: 48em) {
  .split { grid-template-columns: 1fr 1fr; gap: 0; }
  .split__text { padding: 0 40px 0 0; }
  .split--flip .split__img { order: -1; }
  .split--flip .split__text { padding: 0 0 0 40px; }
  .carousel[data-per="2"] .carousel__item { flex-basis: calc((100% - 30px) / 2); }
  .quotes { grid-template-columns: 1fr 1fr; gap: 40px 50px; }
  .contact__cols { grid-template-columns: 5fr 6fr; gap: 60px; }
  .panel { padding: 40px 30px; }
}

@media (min-width: 62em) {
  .head__in { grid-template-columns: 200px 1fr 66px; grid-template-areas: "logo caption tools" "menu menu menu"; column-gap: 24px; row-gap: 14px; align-items: center; padding-top: 18px; }
  .logo { justify-self: start; }
  .caption { justify-self: center; }
  .burger { display: none; }
  .tools { flex-direction: column; justify-content: space-between; gap: 0; border-top: 0; }
  .tools li { height: 26px; }
  .tools a:not(.langsw) { width: 26px; height: 26px; }
  .langsw { margin-left: 0; }
  .menu, .menu.is-open { display: block; padding: 0; justify-self: start; }
  .menu ul { display: flex; gap: 6px; }
  .menu a { padding: 10px 16px; border-bottom: 3px solid transparent; font-size: .875rem; }
  .menu a.is-active { border-color: var(--gold); }
  .menu li:first-child a { padding-left: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .foot__cols { grid-template-columns: 1fr 1.4fr 1fr 1fr 1fr; }
  .hero__nav { width: 52px; height: 52px; margin-top: -26px; }
  .hero__nav--prev { left: 20px; }
  .hero__nav--next { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
