:root {
    /* --- SVĚTLÁ PALETA (Light Glass) --- */
    --bg-main: #f2f4f6;       /* Velmi světle šedé pozadí */
    --text-main: #003049;     /* Tmavě modrá pro text */
    --text-muted: #5d6d7e;    /* Šedá pro vedlejší text */
    --orange: #f77f00;        /* Brandová oranžová */
    
    /* Skleněné efekty pro světlé pozadí */
    --glass-surface: rgba(255, 255, 255, 0.6); 
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: rgba(0, 48, 73, 0.05);

    
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- Ambientní Pozadí (Jemné Orby) --- */
.ambient-glows {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #f2f4f6;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6; /* Vyšší průhlednost pro pastelový efekt */
}

/* Oranžová záře */
.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(247,127,0,0.15) 0%, rgba(255,255,255,0) 70%);
    top: -200px; left: -200px;
    animation: float 10s infinite alternate ease-in-out;
}

/* Modrá záře */
.orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,48,73,0.1) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px; right: -100px;
    animation: float 15s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* --- Navigace --- */
/* --- Navigace --- */
/* --- Navigace (FIXNUTÁ PLYNULOST) --- */
/* --- Navigace (BIG LOGO FIX) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* TOTO JE KLÍČOVÉ: Zarovná text přesně na střed loga */
    
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    
    width: 100%;
    max-width: 1400px;
    
    /* Větší padding nahoře, aby se tam velké logo vešlo a dýchalo to */
    padding: 20px 5%; 
    background: transparent;
    
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Logo --- */
.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo { 
    /* Tady máš svých 75px pro úvodní zobrazení */
    height: 75px; 
    width: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* TRIK: Pokud má logo v sobě moc volného místa, odkomentuj tento řádek: */
    /* transform: scale(1.2); transform-origin: left center; */
}

/* --- Stav SCROLLED (Kapsle) --- */
nav.scrolled {
    top: 20px;
    
    /* OPRAVA: Místo "auto" dáváme pevnou šířku, aby fungovala animace */
    width: 850px; 
    
    /* Pojistka pro mobily, aby to nebylo širší než displej */
    max-width: 92%;
    min-width: unset; /* Zrušíme min-width, aby to nedělalo neplechu */
    
    /* Menší padding */
    padding: 10px 30px; 
    
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(25px) saturate (180%);
    -webkit-backdrop-filter: blur(25px) saturate (180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Při scrollu logo zmenšíme na 50px - to je kompromis, aby byla lišta hezká */
nav.scrolled .nav-logo {
    height: 50px; 
}

/* --- Odkazy a Tlačítko --- */
.nav-links {
    display: flex;
    align-items: center; /* Zarovnání na střed výšky */
    gap: 30px;
    height: 100%; /* Důležité pro flexbox */
}

.nav-links a:not(.btn-contact) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    line-height: 1; /* Reset řádkování pro přesný střed */
}

.nav-links a:hover { color: var(--orange); }

.btn-contact {
    background: #0b1120;
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

/* V kapsli tlačítko trochu zmenšíme */
nav.scrolled .btn-contact {
    padding: 10px 24px;
}
.logo-btn {
    display: flex; /* Zajistí, že se logo neposune a zůstane vycentrované */
    text-decoration: none;
    cursor: pointer;
}

.btn-contact:hover { 
    background: var(--orange); 
    box-shadow: 0 5px 15px rgba(247, 127, 0, 0.3);
}
/* --- Hero Sekce --- */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 50px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 30px;
    letter-spacing: -0.04em;
}

.text-orange { 
    color: var(--text-main); /* Slovo BUDOUCNOSTI tmavě */
} 
.dot { color: var(--orange); }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
    font-weight: 400;
}

/* Tlačítko */
.btn-wrapper { position: relative; z-index: 10; display: block; }

.cta-button {
    display: inline-block;
    background-color: var(--orange);
    color: white;
    font-weight: 700;
    padding: 18px 50px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(247, 127, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(247, 127, 0, 0.5);
    background-color: #ff8c1a;
}

/* --- Služby (LIGHT GLASS CARDS) --- */
.services {
    padding: 100px 5%;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 80px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* KARTA - Světlé sklo */
.card {
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid white; /* Bílý rámeček */
    padding: 50px 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Velmi jemný stín */
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--orange);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.card-num {
    display: block;
    font-size: 1.5rem;
    font-family: monospace;
    color: var(--orange);
    margin-bottom: 20px;
}

.card h3 { 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
    color: var(--text-main); 
    font-weight: 700;
}

.card p { 
    color: var(--text-muted); 
    line-height: 1.7; 
}

/* Zvýrazněná karta (03) - Tmavá varianta pro kontrast */
.card.dark {
    background: var(--text-main);
    color: white;
    border: 1px solid var(--text-main);
}
.card.dark h3 { color: white; }
.card.dark p { color: #cfcfcf; }
.card.dark .card-num { color: white; opacity: 0.3; }

.badge {
    display: inline-block;
    margin-top: 25px;
    padding: 6px 14px;
    background: var(--orange);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Footer / Contact Section --- */
footer {
    padding: 100px 5% 40px 5%;
    position: relative;
    margin-top: 50px;
    background: white;
}

.contact-container { max-width: 1200px; margin: 0 auto; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

/* Levý sloupec */
.contact-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* TADY JSME PŘIDALI MEZERU POD TEXTEM */
.contact-subtext {
    margin-bottom: 60px; /* Původně tam nebylo nic, teď je tam díra */
    line-height: 1.6;
    color: var(--text-muted);
}


/* TADY JSME ZVĚTŠILI MEZERU MEZI KROKY */
.process-item { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 45px; /* Větší rozestupy mezi 01, 02... */
    align-items: flex-start; /* Aby číslo zůstalo nahoře u nadpisu */
}

.step-num { color: var(--orange); font-family: monospace; font-weight: bold; font-size: 1.1rem; }
.step-content h4 { color: var(--text-main); margin-bottom: 8px; font-size: 1.1rem; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* Pravý sloupec - FORMULÁŘ */
.modern-form {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid #eee;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.form-header h3 { color: var(--text-main); font-size: 1.8rem; margin-bottom: 30px; }

/* TADY JSME ODTRHLI INPUTY OD SEBE */
.form-group {
    margin-bottom: 30px; /* Vzduch mezi políčky */
}

.form-group label { 
    color: var(--text-main); 
    font-size: 0.95rem; 
    margin-bottom: 12px; /* Vzduch mezi popiskem a inputem */
    display: block; 
    font-weight: 600;
}

.optional { color: #999; font-weight: 400; font-size: 0.85rem; margin-left: 5px; }

/* Inputy */
input, textarea {
    width: 100%;
    padding: 16px 20px; /* Větší padding uvnitř */
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.1);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: var(--text-main);
    color: white;
    border: none;
    padding: 20px; /* Větší tlačítko */
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 127, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.socials a { color: var(--text-muted); margin-left: 20px; text-decoration: none; transition: color 0.3s; }
.socials a:hover { color: var(--orange); }

/* Mobile */
@media (max-width: 900px) {
   .contact-grid { grid-template-columns: 1fr; gap: 50px; }
   .contact-headline { font-size: 2.5rem; }
   .modern-form { padding: 30px; }
   .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
   .hero { padding-top: 150px; }
}