/* Color variables */
:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #6b7280; /* gray-500 */
  --color-border: #e5e7eb; /* gray-200 */
  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-accent: #111111; /* black as accent */
}

/* Base reset and typography */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 72px 0;
}
.section--tight { padding: 40px 0; }
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Floating header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--color-border);
}
.header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__link {
  text-decoration: none;
  color: var(--color-text);
  padding: 8px 10px;
  border-radius: 6px;
}
.nav__link:hover {
  background: #f3f4f6; /* gray-100 */
}
.nav__link.active { border-bottom: 2px solid var(--color-accent); }

/* Mobile nav */
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: transparent;
}
/* Hide drawer by default (desktop and mobile) */
.nav__drawer { display: none; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav__drawer.open { display: block; }
  .nav__drawer a { display: block; padding: 16px 20px; border-top: 1px solid var(--color-border); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #0a0a0a;
}
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--color-overlay); z-index: 1; }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.hero__title { font-size: clamp(28px, 6vw, 56px); margin: 0 0 12px; }
.hero__subtitle { color: #e5e7eb; font-size: clamp(16px, 2.2vw, 20px); }

/* Cards / blocks */
.card { border: 1px solid var(--color-border); border-radius: 12px; padding: 20px; background: #fff; }
.card--dark { background: #111; color: #fff; border-color: #1f2937; }
.muted { color: var(--color-muted); }

/* Footer */
.footer { border-top: 1px solid var(--color-border); padding: 32px 0; color: var(--color-muted); }

/* Space for fixed header */
.main { padding-top: 72px; }

/* Buttons */
.button { display: inline-block; background: var(--color-text); color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--color-text); }
.button--ghost { background: transparent; color: var(--color-text); }
.button:hover { opacity: 0.9; }

/* Forms */
.input, .textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
.label { display: block; margin-bottom: 8px; color: var(--color-muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

/* Utilities */
.center { text-align: center; }
.spacer-24 { height: 24px; }
.spacer-40 { height: 40px; }

/* Icons */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; margin-right: 8px; vertical-align: -4px; }
.icon--lg { width: 32px; height: 32px; vertical-align: -6px; }
.icon--xl { width: 40px; height: 40px; vertical-align: -8px; }

/* Page backgrounds */
.hero--home { background-image: url('assets/media/home.jpg'); background-size: cover; background-position: center; }
.hero--sluzby { background-image: url('assets/media/sluzby.jpg'); background-size: cover; background-position: center; }
.hero--onas { background-image: url('assets/media/onas.jpg'); background-size: cover; background-position: center; }
.hero--vozovypark { background-image: url('assets/media/vozovy-park.jpg'); background-size: cover; background-position: center; }
.hero--kariera { background-image: url('assets/media/kariera.jpg'); background-size: cover; background-position: center; }
.hero--kontakty { background-image: url('assets/media/kontakty.jpg'); background-size: cover; background-position: center; }

/* Homepage: counters */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stats--circles { justify-items: center; }
.stat { text-align: center; padding: 24px; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; }
.stat--circle { width: 220px; height: 220px; border-radius: 9999px; padding: 0; display: grid; place-items: center; }
.stat__icon { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2; margin-bottom: 8px; }
.stat__icon--solid { stroke: none; fill: currentColor; }
.stat__img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 8px; filter: grayscale(1) brightness(0); }
.stat__number { font-size: clamp(28px, 5vw, 40px); font-weight: 700; }
.stat__label { color: var(--color-muted); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; } .stat--circle { width: 200px; height: 200px; } }

/* Homepage: CTA row */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Partners */
.partners__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.partners__logo { height: 48px; border: 1px solid var(--color-border); border-radius: 10px; display: grid; place-items: center; color: var(--color-muted); background: #fff; }
@media (max-width: 900px) { .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Services page CTA panel */
.cta-panel { border: 1px solid var(--color-border); border-radius: 16px; background: #ffffff; padding: 32px; max-width: 920px; margin: 0 auto; }
.features { list-style: none; padding: 0; margin: 10px auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.features li { display: flex; align-items: flex-start; gap: 10px; }
.features li::before { content: "✓"; display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; background: #111; color: #fff; text-align: center; font-size: 12px; margin-top: 2px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* Fleet page */
.fleet { display: grid; gap: 48px; }
.fleet__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.fleet__row:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.fleet__img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; border: 1px solid var(--color-border); background: #f8fafc; }
.fleet__title { margin: 0 0 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.badge { border: 1px solid var(--color-border); border-radius: 9999px; padding: 6px 10px; font-size: 14px; }
.specs { list-style: none; padding: 0; margin: 12px 0 0; }
.specs li { margin: 6px 0; }
@media (max-width: 900px) {
  .fleet__row, .fleet__row:nth-child(even) { grid-template-columns: 1fr; }
  .fleet__img { height: 220px; }
} 