/* --- ZÁKLADNÍ NASTAVENí A PROMĚNNÉ --- */

:root {

    --primary-color: #f39c12; --secondary-color: #e67e22; --dark-color: #222222;

    --nav-bg: #222222; --light-color: #ffffff; --bg-light-gray: #f8f9fa;

    --text-color: #34495e; --text-light: #7f8c8d; --border-color: #e9ecef;

    --font-header: 'Montserrat', sans-serif; --font-body: 'Open Sans', sans-serif;

    --container-width: 1200px; --section-padding: 100px 0;

}





/* --- GLOBÁLNÍ STYLY --- */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth !important; font-size: 16px; }

body { font-family: var(--font-body); line-height: 1.7; color: var(--text-color); background-color: var(--light-color); -webkit-font-smoothing: antialiased; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-header); font-weight: 700; line-height: 1.3; color: var(--primary-color); }

h1.hero-headline { font-weight: 1002; text-transform: uppercase; letter-spacing: 1px; }

h2 { font-size: 2.8rem; text-align: center; margin-bottom: 25px; position: relative; padding-bottom: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 4px; background-color: var(--primary-color); border-radius: 2px; }

p { margin-bottom: 1rem; color: var(--text-light); }

.section-subtitle { text-align: center; max-width: 650px; margin: -15px auto 60px auto; font-size: 1.1rem; color: var(--text-light); }

:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 3px; border-radius: 5px; }



/* --- HEADER A NAVIGACE --- */

header { background: #222222d6; position: fixed; width: 100%; top: 0; z-index: 1000; padding: 15px 0; transition: all 0.3s ease; }

header.scrolled { background-color: var(--nav-bg); box-shadow: 0 5px 15px rgba(0,0,0,0.2); padding: 5px 0; }

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo { max-height: 120px; transition: all 0.3s ease; }

header.scrolled .logo { max-height: 90px; }

.nav-menu { display: flex; align-items: center; gap: 40px; list-style: none; padding: 0; }

.nav-menu a { color: var(--light-color); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; transition: color 0.3s ease; text-decoration: none; }

.nav-menu a:hover, header nav a.active { color: var(--primary-color); }




/* NOVÝ KÓD */
.hamburger {
    display: none;
    padding: 15px;
    cursor: pointer;
    background-color: transparent; /* Průhledné pozadí */
    border: 0;
    z-index: 1001;
    color: #ffffff; /* Explicitně nastavená bílá barva */
    font-size: 2.2rem; /* ZVĚTŠENÁ IKONA (můžete si hodnotu upravit) */
    line-height: 1;
}
.hamburger .icon-close { display: none; }
.hamburger.active .icon-open { display: none; }
.hamburger.active .icon-close { display: block; }

/* --- TLAČÍTKA --- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 35px; border-radius: 50px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; transition: all 0.3s ease; border: none; text-decoration: none; }

.btn-primary { background-color: var(--primary-color); color: var(--light-color); box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4); }

.btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5); }



/* --- HERO SEKCE --- */

#hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url('images/kuryr_background1.webp') no-repeat center center/cover; padding: 0 20px; }

#hero h1 { color: var(--light-color); }

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4)); }

.hero-content { position: relative; z-index: 2; max-width: 850px; }

.hero-since { color: var(--primary-color); font-family: var(--font-header); font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; }

.hero-headline { font-size: 3.5rem; text-shadow: 0 4px 15px rgba(0,0,0,0.5); margin-bottom: 50px; }

.hero-actions .btn-phone { font-size: 1.5rem; padding: 20px 40px; }



/* --- ZÁKLADNÍ STYLY SEKCI --- */

section { padding: var(--section-padding); }

#hero { padding: 0; }

#services, #delivery-map, #fleet { background-color: var(--bg-light-gray); }

#references, #about, #faq, #contact { background-color: var(--dark-color); }



/* --- OPRAVENÁ SEKCE REFERENCE --- */

#references h2.custom-heading, #references p.section-subtitle-alt {

    text-align: center;

    font-size: 2.2rem;

    font-weight: 700;

    color: rgba(255, 255, 255, 0.75);

    margin: -10px auto 50px auto;

    font-family: var(--font-header);

}

 #references p.section-subtitle-alt {

    text-align: center;

    font-size: 1rem;

    font-weight: 700;

    color: rgba(255, 255, 255, 0.60);

    margin: -10px auto 10px auto;

    font-family: var(--font-header);

}



#references .logos-container {

    width: 100%;

    overflow: hidden;

    position: relative;

    padding: 40px 0;

}

#references .logos-container::before { content: ''; position: absolute; top: 0; z-index: 2; width: 100px; height: 100%; pointer-events: none; left: 0; }

#references .logos-container::after { content: ''; position: absolute; top: 0; z-index: 2; width: 100px; height: 100%; pointer-events: none; right: 0; }

#references .logos-scroller { display: flex; align-items: center; gap: 120px; width: max-content; animation: scroll 40s linear infinite; }

#references .logo-item img { filter: grayscale(1) brightness(3); opacity: 0.6; max-width: 260px; max-height: 60px; transition: all 0.3s ease; }


#references .logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {

    from { transform: translateX(0); }

    to { transform: translateX(-50%); } 

}



/* --- SEKCE VOZOVÝ PARK --- */

.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: stretch; }

.fleet-card { background: var(--light-color); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.07); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }

.fleet-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

.fleet-card-image { height: 240px; background-color: #f0f4f8; padding: 15px; overflow: hidden; }

.fleet-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }

.fleet-card:hover .fleet-card-image img { transform: scale(1.08); }

.fleet-card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }

.fleet-card-content h3 { text-align: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); font-size: 1.4rem; color: #222222; }

.fleet-card-content ul { list-style: none; padding-left: 0; margin-top: auto; flex-grow: 1; }

.fleet-card-content li { font-size: 0.95rem; padding: 10px 0; border-bottom: 1px solid #f0f0f0; color: var(--text-light); }

.fleet-card-content li:last-child { border-bottom: none; }

.fleet-card-content li strong { color: var(--text-color); margin-right: 8px; }



/* --- SEKCE O NÁS --- */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-content h2 { color: var(--light-color); text-align: left; }

.about-content h2::after { left: 0; transform: translateX(0); }

.about-content p, .about-content li { color: rgba(255, 255, 255, 0.8); }

.about-content li { padding-top: 10px;  padding-bottom: 10px; }

.about-features { list-style: none; padding-left: 0; margin-top: 30px; }

.about-features i { color: var(--primary-color); }

.about-image figure { position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.4); line-height: 0; }

.about-image figure::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.78); pointer-events: none; }

.about-image img { width: 100%; display: block; }

.about-image figcaption { position: absolute; bottom: 15px; right: 20px; background: rgba(0, 0, 0, 0.5); padding: 5px 12px; border-radius: 5px; color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; font-weight: 600; font-family: var(--font-header); z-index: 2; line-height: 1.5; }



/* --- SEKCE SLUŽBY --- */

.services-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.service-card { background: var(--light-color); padding: 30px 20px; text-align: center; border-radius: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.07); }

.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15); }

.service-icon { display: inline-flex; justify-content: center; align-items: center; width: 70px; height: 70px; background-image: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); color: var(--light-color); border-radius: 50%; font-size: 2.2rem; margin-bottom: 20px; transition: transform 0.3s ease; }



/* --- SEKCE FAQ --- */

#faq h2 { color: var(--light-color); }

#faq .faq-grid { max-width: 800px; margin: 60px auto 0 auto; display: flex; flex-direction: column; gap: 15px; }

#faq .faq-item { background-color: var(--dark-color); border-radius: 10px; border: 1px solid #444; overflow: hidden; }

#faq .faq-item h3 { color: var(--light-color); padding: 20px 60px 20px 25px; font-size: 1.2rem; font-weight: 600; margin: 0; cursor: pointer; position: relative; transition: background-color 0.3s ease; }

#faq .faq-item h3:hover { background-color: var(--primary-color); }

#faq .faq-item h3::after { content: '+'; font-family: 'Montserrat', sans-serif; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 2rem; font-weight: 300; color: var(--primary-color); transition: transform 0.3s ease; }

#faq .faq-item p { color: rgba(255, 255, 255, 0.7); margin: 0; padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }

#faq .faq-item.active h3 { background-color: var(--primary-color); }

#faq .faq-item.active h3::after { content: '−'; transform: translateY(-50%) rotate(180deg); }

#faq .faq-item.active p { max-height: 200px; padding: 20px 25px; }



/* --- SEKCE MAPA --- */

#delivery-map .map-image-container { text-align: center; }

#delivery-map .map-image-container img { max-width: 800px; width: 100%; height: auto; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }



/* --- SEKCE KONTAKT --- */

#contact h2 { color: var(--light-color); }

#contact .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: flex-start; }

#contact .contact-info h2, #contact .contact-info h3, #contact .contact-info h4 { text-align: left; }

#contact .contact-info h3, #contact .contact-info h4 { color: var(--light-color);     margin-top: 5px; margin-bottom: 5px; }

#contact .contact-info h2::after { display: none; }

#contact .section-subtitle-left { text-align: left; margin: -15px 0 30px 0; color: rgba(255, 255, 255, 0.7); }

/* === SJEDNOCENÉ STYLY PRO KONTAKTNÍ ÚDAJE === */
#contact .contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Mezera mezi položkami */
    margin-top: 15px;
    margin-bottom: 15px;
}
#contact .contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Mezera mezi ikonou a textem */
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
/* === ZMĚNA: Zvětšení ikony === */
#contact .contact-info .contact-item i {
    font-size: 1.8rem; /* Původně 1.5rem */
    width: 30px; 
    text-align: center;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    margin: 0;
}
/* === ZMĚNA: Zvětšení textu === */
#contact .contact-info .contact-item span {
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 1.3rem; /* Původně 1.1rem */
    line-height: 1.5;
}
#contact .contact-info .contact-item a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
}
#contact .contact-info .contact-item a:hover {
    color: var(--primary-color);
}
#contact .contact-info a.contact-item {
    transition: color 0.3s ease;
}
#contact .contact-info a.contact-item:hover,
#contact .contact-info a.contact-item:hover span {
    color: var(--primary-color);
}
#contact .contact-info a.contact-item:hover i {
    transform: scale(1.1);
}

#contact .map-container { margin-top: 40px; border-radius: 10px; overflow: hidden; border: 2px solid #444; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

#contact .map-container iframe { width: 100%; height: 300px; border: 0; }

#contact .contact-form-wrapper { background: var(--bg-light-gray); padding: 40px; border-radius: 15px; border: 1px solid var(--border-color); }

#contact .contact-form-wrapper h3 { text-align: center; margin-bottom: 30px; }

#contact .form-group { margin-bottom: 25px; }

#contact .form-group label { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; display: block; }

#contact .contact-form input, #contact .contact-form textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; }

#contact .contact-form input:focus, #contact .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2); }

#contact .form-row { display: flex; gap: 25px; }

#contact .form-row .form-group { flex: 1; }

#contact .contact-form button { width: 100%; padding: 18px; font-size: 1rem; }



/* --- RESPONZIVITA --- */

@media (max-width: 992px) { 

    h2 { font-size: 2.4rem; } 

    .logo { max-height: 100px; }

    header.scrolled .logo { max-height: 80px; }

    .nav-btn { display: none; } 

    .hamburger { display: block; } 

    .nav-menu { position: fixed; top: 0; left: -100%; background: #1c1c1c; flex-direction: column; width: 100%; height: 100vh; justify-content: center; transition: left 0.4s ease; display: flex; } 

    .nav-menu.active { left: 0; } 

    .hero-headline { font-size: 2.5rem; } 

    #contact .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 50px; } 

    .about-content { text-align: center; }

    .about-content h2 { text-align: center; }

    .about-content h2::after { left: 50%; transform: translateX(-50%); }

    .about-features { display: inline-block; text-align: left; }

    .fleet-grid { grid-template-columns: repeat(2, 1fr); } 

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    #contact .contact-info h2, #contact .section-subtitle-left { text-align: center; } 

    #contact .social-icons { align-items: normal; }

    #contact .contact-form .form-row { flex-direction: column; gap: 0; }

    #contact .contact-form .form-row .form-group { margin-bottom: 25px; }

}

@media (max-width: 768px) { 

    body { padding-bottom: 70px; } 

    section { padding: 70px 0; }

    #hero { padding: 0; }

    h2 { font-size: 2.2rem; } 

    .logo { max-height: 80px; }

    header.scrolled .logo { max-height: 60px; }

    .hero-headline { font-size: 2.2rem; } 

    .hero-actions .btn-phone { font-size: 1.2rem; padding: 15px 30px; } 

    .fleet-grid, .services-grid { grid-template-columns: 1fr; gap: 30px; } 

    #contact .contact-form-wrapper { padding: 30px; } 

    #references .logos-container::before, #references .logos-container::after { width: 50px; } 

    .mobile-cta-bar { display: flex !important; } 

    .mobile-cta-bar a { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; padding: 8px 0; } 

    .mobile-cta-bar i { font-size: 1.6rem; margin-bottom: 5px; } 

    .mobile-cta-bar span { font-family: var(--font-header); font-weight: 600; font-size: 0.8rem; } 

}



/* --- OSTATNÍ STYLY --- */

footer { background: var(--dark-color); color: #bdc3c7; text-align: center; padding: 30px 0; font-size: 0.9rem; }

#back-to-top { display: none; }



/* --- Mobilní CTA Bar --- */

.mobile-cta-bar {

    position: fixed;

    bottom: 0;

    left: 0;

    width: 100%;

    background-color: var(--dark-color);

    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);

    z-index: 999;

    display: none;

}
/* --- RESPONZIVITA PRO MALÉ TELEFONY (doplnění) --- */

@media (max-width: 480px) {

    /* Zmenšení hlavního nadpisu a podnadpisu v sekcích */
    h2 {
        font-size: 1.8rem; /* Původně 2.2rem */
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .section-subtitle {
        font-size: 1rem;
        margin: -10px auto 40px auto;
    }

    /* Optimalizace Hero sekce */
    .hero-headline {
        font-size: 1.9rem; /* Původně 2.2rem, aby se lépe vešel text */
        margin-bottom: 40px;
    }
    .hero-actions .btn-phone {
        font-size: 1.1rem; /* Menší text v tlačítku */
        padding: 15px 25px; /* Menší tlačítko */
    }

    /* Zmenšení mezer u mřížek (gridů) */
    .fleet-grid, .services-grid {
        gap: 20px; /* Menší mezery mezi kartami */
    }

    /* Úprava odsazení v kontaktním formuláři */
    #contact .contact-form-wrapper {
        padding: 25px; /* Méně vnitřního odsazení */
    }

    #contact .contact-grid {
        gap: 40px;
    }
    
    /* Zmenšení písma a ikon v kontaktních údajích pro lepší přehlednost */
    #contact .contact-info .contact-item i {
        font-size: 1.5rem; /* Původně 1.8rem */
    }
    #contact .contact-info .contact-item span {
        font-size: 1.1rem; /* Původně 1.3rem */
    }

    /* Zmenšení mezery mezi logy v sekci referencí */
    #references .logos-scroller {
        gap: 60px; /* Původně 120px/80px, menší mezery pro plynulejší posouvání */
    }
    
    /* Menší písmo v patičce */
    footer {
        font-size: 0.8rem;
    }
}
#contact .contact-info p a .smalll {font-size: 1rem;}

.mobile-cta-bar .cta-whatsapp { color: var(--primary-color); }

.mobile-cta-bar .cta-call { color: var(--primary-color); }