/* Autodoprava Gajdzica - Kompletní CSS bez Tailwindu */

:root {
  --primary: #009040;
  --primary-dark: #007A36;
  --brand-light: #EAF6EF;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --surface: #F3F4F6;
  --white: #FFFFFF;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --max-width: 1280px;
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-light { background-color: var(--surface); }
.bg-brand { background-color: var(--brand-light); }
.bg-dark { background-color: #0f172a; color: white; }
.bg-primary-dark { background-color: var(--primary-dark); color: white; }

/* Flex & Grid Systems */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Header & Nav */
header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eee;
  height: 80px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-desktop {
  display: none;
}

#menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  #menu-btn {
    display: none;
  }
}

.nav-link {
  color: var(--text-medium);
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active {
  border-bottom: 2px solid var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero { height: auto; padding: 4rem 0; }
  .hero h1 { font-size: 2.25rem; }
}

/* Cards & Stats */
.card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
}

.card:hover { box-shadow: var(--shadow-md); }

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Services */
.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 3rem;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--brand-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Map & Contact */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
}

input, select, textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

/* Docs */
.doc-list {
  background: white;
  border-radius: var(--radius);
  border: 1px solid #eee;
  overflow: hidden;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.doc-item:last-child { border-bottom: none; }

.doc-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.doc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-link {
  color: var(--primary);
  font-weight: 600;
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  background-color: #0f172a;
  color: rgba(255,255,255,0.7);
}

footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.reveal.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Overlay (Simulated) */
#mobile-menu {
  display: none;
  padding-bottom: 1rem;
}

#mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}
