/* --- ZÁKLADNÍ NASTAVENÍ A PROMĚNNÉ --- */
:root {
    --primary-color: #ffc107; /* Hlavní barva (např. žlutá pro taxi) */
    --secondary-color: #0d0347; /* Tmavá barva pro text a pozadí */
    --light-color: #f8f9fa; /* Světlé pozadí */
    --text-color: #333;
    --white-color: #ffffff;
    --font-main: 'Roboto', sans-serif;
    --font-headings: 'Poppins', sans-serif;
}

/* --- RESET A GLOBÁLNÍ STYLY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
}

/* Globální nadpisy (mimo hero) */
body h1, body h2 {
  color: #0d0347;
}

/* Nadpisy pouze pro hero sekci */
.hero-content h1, .hero-content h2 {
  color: var(--primary-color); /* #ffc107 */
}

h1, h2 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: #ffc107
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: #0d0347
}

/* --- HLAVIČKA A NAVIGACE --- */
header {
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

nav .logo {
    color: var(--primary-color);
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: var(--white-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.nav-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #fffffd;
}

/* --- ÚVODNÍ (HERO) SEKCE --- */
#hero {
    /* Odebereme background-image přímo z #hero, bude ho mít slider-container */
    background: linear-gradient(rgba(8, 6, 84, 0.6), rgba(0, 0, 0, 0.6)); /* Gradient zachováme */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    position: relative; /* Důležité pro umístění slideru a obsahu */
    overflow: hidden; /* Skryje přesahující části snímků */
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Zajistí, že obsah hero sekce bude nad obrázky */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Plynulý přechod mezi snímky */
}

.slide.active {
    opacity: 1;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -1px;
}

p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.button-primary {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  background-color: #FFCC00;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-primary:hover {
  background-color: #ffc107;
}

/* Zachováme existující styly pro hero-content, h1, p, button-primary */
.hero-content {
    max-width: 800px;
    position: relative; /* Důležité, aby obsah byl nad sliderem */
    z-index: 1;
}

/* ... (zbytek vašeho CSS) ... */

/* --- SEKCE SLUŽBY --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #0d0347;
}

/* --- SEKCE VOZOVÝ PARK --- */
#vozovy-park {
    background-color: var(--light-color);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.car-card img {
    width: 100%;
    height: auto;
    display: block;
}

.car-card h3 {
    padding: 1rem 1rem 0.5rem 1rem;
}
.car-card p {
    padding: 0 1rem 1rem 1rem;
}

/* --- SEKCE CENÍK --- */
.pricing-table {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #ddd;
}

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

.price-item span {
    font-size: 1.1rem;
}

.price-item .price {
    font-weight: 700;
    color: var(--secondary-color);
}
.price-note {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: #666;
}

/* --- SEKCE KONTAKT --- */
#kontakt {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

#kontakt h2 {
    color: var(--white-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info h3, .contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--white-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}
.phone-number a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ddd;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #444;
    color: var(--white-color);
    font-family: inherit;
}

.contact-form small {
    margin-top: 1rem;
    color: #ccc;
    font-style: italic;
}

/* --- PATIČKA --- */



footer {
    max-width: 1100px;
  margin: auto;
    background-color: #041b4a;
  color: #ffffff;
  text-align: center;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  
}



/* --- RESPONZIVITA PRO MOBILNÍ ZAŘÍZENÍ --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        padding: 1rem 0;
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        padding: 0.2rem 0;
    }

    .nav-button {
        display: none; /* Skryjeme tlačítko v hlavní navigaci, telefon je v kontaktech */
    }

    #hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

nav-menu.active { display: block; }
/* Výchozí stav: desktop */
.nav-menu {
    display: flex;
    gap: 1rem;
}

/* Mobilní režim */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--secondary-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        color: #ffc107;
        
        
    }
}
/* Ikona hamburgeru – skryjeme na desktopu */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* Odsazeni hero */
@media (max-width: 768px) {
  .hero-content {
     padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}
.hero-content h1, .hero-content p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}



.nav-menu a {
  padding: 0;
  text-align: center;
  display: block;
}
@media (max-width: 600px) {
  .price-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-item span {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .price-item .price {
    font-size: 1.1rem;
    color: #222;
  }
}
