:root {
  --gold: #9c8065;
  --gold-dark: #7d6550;
  --gold-light: #c9b29a;
  --ink: #1b1b1b;
  --ink-2: #262626;
  --text: #333;
  --muted: #777;
  --bg: #fff;
  --bg-alt: #f6f3ef;
  --line: #e6dfd7;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.7 var(--sans); color: var(--text); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .6em; }
.muted { color: var(--muted); font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 2px solid var(--gold); border-radius: var(--radius);
  background: var(--gold); color: #fff; font: 600 .82rem/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--gold); }
.btn--outline:hover { color: #fff; }
.btn--small { padding: 10px 18px; font-size: .72rem; }
.btn--block { width: 100%; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(20, 20, 20, .96); box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo__icon { width: 34px; height: 34px; fill: var(--gold-light); transform: rotate(45deg); }
.logo span { display: flex; flex-direction: column; font-size: .68rem; letter-spacing: .3em; line-height: 1.3; }
.logo strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; transition: color .2s, opacity .2s; }
.nav a:not(.btn):hover { color: var(--gold-light); opacity: 1; }
.lang-switch { display: flex; margin-left: 24px; padding: 3px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; background: none; cursor: pointer; font: 600 .7rem/1 var(--sans); letter-spacing: .1em; transition: border-color .2s; }
.lang-switch:hover { border-color: var(--gold-light); }
.lang-switch span { padding: 6px 9px; border-radius: 30px; color: rgba(255,255,255,.7); transition: background .2s, color .2s; }
html[lang="en"] .lang-switch [data-lang="en"],
html[lang="sl"] .lang-switch [data-lang="sl"] { background: var(--gold); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--ink); overflow: hidden; }
/* Slides are static so each one's ::before backdrop fills the whole .hero */
.hero__slide:not(.is-active) { display: none; }
.hero__slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,15,15,.88) 0%, rgba(15,15,15,.55) 60%, rgba(15,15,15,.35)), var(--bg) center/cover, linear-gradient(135deg, #2a2420, #111);
  animation: fade 1s ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero__content { position: relative; padding-top: 80px; }
.hero__content h1 { color: #fff; animation: rise .8s ease both; }
.hero__text { max-width: 520px; font-size: 1.1rem; opacity: .9; animation: rise .8s .15s ease both; }
.hero .eyebrow { color: var(--gold-light); animation: rise .8s ease both; }
.hero__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero__dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s; }
.hero__dots button.is-active { background: var(--gold-light); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Fleet */
.fleet__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; max-width: 920px; margin: 0 auto; }
.car { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.car:hover { transform: translateY(-4px); }
.car__img { height: 190px; display: grid; place-items: center; background: linear-gradient(135deg, #2b2b2b, #151515); }
.car__img img { width: 75%; height: 75%; object-fit: contain; }
.car__body { padding: 28px; }
.car__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.car__top h3 { margin: 0; }
.status { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 30px; white-space: nowrap; }
.status--free { background: #e5f4ea; color: #1f7a3d; }
.status--busy { background: #fbeaea; color: #a22b2b; }
.car__specs { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.car__specs li { padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* About */
.about { background: var(--bg-alt); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__img {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: url(./assets/img/exterior-taxi.jpg) center/cover, linear-gradient(135deg, #3a322b, #151515);
}
.about__badge { position: absolute; right: -20px; bottom: 40px; background: var(--gold); color: #fff; padding: 22px 28px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.about__badge strong { display: block; font: 700 2.4rem/1 var(--serif); }
.about__badge span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist li { position: relative; padding-left: 28px; font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.about__cta { color: var(--ink); font-size: 1.1rem; }

/* Destinations */
.dest__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 24px; border-radius: var(--radius); overflow: hidden; color: #fff;
  background: linear-gradient(to top, rgba(10,10,10,.85), rgba(10,10,10,.1) 65%), var(--img) center/cover, linear-gradient(135deg, #3a322b, #151515);
  transition: transform .3s;
}
.dest:hover { transform: translateY(-4px); }
.dest::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; pointer-events: none; transition: border-color .3s; }
.dest:hover::after { border-color: var(--gold-light); }
.dest__route { font: 600 1.4rem/1.2 var(--serif); }
.dest__route i { font-style: normal; color: var(--gold-light); }
.dest__meta { font-size: .82rem; opacity: .8; margin-top: 6px; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.list-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; font-size: .9rem; transition: all .2s; }
.chips a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Services */
.services { background: var(--ink); color: #cfcfcf; }
.services h2, .services h3 { color: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { padding: 40px 32px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); text-align: center; transition: border-color .3s, background .3s; }
.service:hover { border-color: var(--gold); background: rgba(156,128,101,.06); }
.service svg { width: 52px; height: 52px; margin: 0 auto 20px; fill: var(--gold-light); }
.service p { margin: 0; font-size: .95rem; }

/* Stats */
.stats { background: var(--gold); color: #fff; padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 24px; }
.stat__num { display: block; font: 700 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); }
.stat__num::before { content: "+"; opacity: .7; margin-right: 2px; }
.stat__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }

/* Booking */
.booking { background: var(--bg-alt); }
.booking__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.booking__contact { display: flex; flex-direction: column; gap: 6px; margin: 24px 0; font: 600 1.3rem/1.4 var(--serif); color: var(--ink); }
.booking__contact a:hover { color: var(--gold); }
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 12px; }
.form { background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__row--3 { grid-template-columns: 2fr 1fr 1fr; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.form label .muted { font-size: .78rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font: 400 .95rem var(--sans); color: var(--text); background: #fcfbfa; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(156,128,101,.18); }
.form .is-invalid { border-color: #c0392b; }
.place { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.place__field { position: relative; }
.form .place__field input { padding-right: 48px; }
.place__pin {
  position: absolute; top: 50%; right: 7px; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold); background: #fff; color: var(--gold); font: 600 .8rem var(--sans); cursor: pointer; transition: background .2s, color .2s;
}
.place__pin:hover, .place__pin.is-active { background: var(--gold); color: #fff; }
.place__list {
  position: absolute; z-index: 10; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); max-height: 240px; overflow-y: auto;
}
.place__list li { padding: 9px 14px; font-size: .88rem; color: var(--text); cursor: pointer; }
.place__list li:hover, .place__list li.is-active { background: var(--bg-alt); }
.map-wrap { display: grid; gap: 8px; }
/* isolation keeps Leaflet's high z-indexes below the suggestion list and fixed header */
.map { height: 280px; border: 1px solid var(--line); border-radius: 4px; isolation: isolate; z-index: 0; }
.map__hint { margin: 0; font-size: .8rem; color: var(--muted); }
.trip { margin: 0; padding: 10px 14px; background: var(--bg-alt); border-left: 3px solid var(--gold); border-radius: 4px; font-size: .92rem; }
.trip strong { color: var(--ink); }
.map__marker {
  display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff;
  font: 600 .8rem var(--sans); box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.form__status { margin: 0; font-size: .9rem; text-align: center; min-height: 1.4em; }
.form__status.is-ok { color: #1f7a3d; }
.form__status.is-error { color: #c0392b; }

/* CTA */
.cta { padding: 90px 0; text-align: center; color: #fff; background: linear-gradient(rgba(15,15,15,.78), rgba(15,15,15,.78)), radial-gradient(ellipse at top, #3a2f26, #141414 70%); }
.cta h2 { color: #fff; }
.cta p { opacity: .85; margin-bottom: 28px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list a:hover { color: var(--gold); }
.contact__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-top: 3px; }
.messengers { display: flex; gap: 12px; margin-top: 24px; }
.messenger { padding: 10px 20px; border-radius: 30px; color: #fff; font-weight: 600; font-size: .88rem; transition: opacity .2s; }
.messenger:hover { opacity: .85; }
.messenger--wa { background: #25d366; }
.messenger--viber { background: #7360f2; }

/* Main (privacy policy page) */
.main { padding: clamp(120px, 16vw, 160px) 0 clamp(64px, 9vw, 110px); }

/* Privacy policy */
.privacy-policy { max-width: 820px; margin-inline: auto; }
.privacy-policy h1 { margin-bottom: .25em; }
.privacy-policy > p:first-of-type { color: var(--muted); font-size: .95rem; }
.privacy-policy section { margin-top: clamp(32px, 4vw, 48px); }
.privacy-policy h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-bottom: .9em; padding-bottom: .4em;
  border-bottom: 1px solid var(--line);
}
.privacy-policy p { font-size: .98rem; }
.privacy-policy ul { margin: 0 0 1em; padding-left: 1.25em; }
.privacy-policy li { margin-bottom: .5em; }
.privacy-policy li::marker { color: var(--gold); }
.privacy-policy a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.privacy-policy a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .main { padding-top: 112px; }
  .privacy-policy p, .privacy-policy li { font-size: .95rem; }
}

@media print {
  .header, .footer, .float-wa { display: none; }
  .main { padding: 0; }
}

/* Footer */
.footer { background: #111; color: #999; font-size: .85rem; padding: 28px 0; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer p { margin: 0; }
.footer a:hover { color: var(--gold-light); }

/* Floating WhatsApp */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .dest__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: #141414; box-shadow: 0 20px 40px rgba(0,0,0,.4); transform: translateY(-120%); transition: transform .35s ease;
  }
  .nav.is-open { transform: none; }
  .lang-switch { margin: 0 8px 0 auto; }
  .nav a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 16px; width: 100%; }
  .header.menu-open { background: #141414; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .about__grid, .booking__grid, .contact__grid, .lists { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 16/10; }
  .about__badge { right: 16px; bottom: -24px; }
  .services__grid { grid-template-columns: 1fr; }
  .cta { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .dest__grid, .stats__grid, .form__row, .checklist { grid-template-columns: 1fr; }
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__row--3 label:first-child { grid-column: 1 / -1; }
  .map { height: 230px; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .dest { min-height: 220px; }
  .lang-switch span { padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
