/* --- 1. GLOBÁLNÍ NASTAVENÍ --- */
:root { 
    --p: #005bb5; /* Hlavní modrá */
    --d: #003366; /* Tmavě modrá pro hover */
    --t: #2d3436; /* Barva textu */
    --bg: #f8fbff; /* Barva pozadí */
    --w: #ffffff; /* Bílá */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--t); line-height: 1.6; background: var(--w); }

/* --- 2. HLAVIČKA A MENU --- */
header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 0.8rem 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.main-logo-img { height: 45px; width: auto; max-width: 150px; }
.logo-text { font-weight: 700; color: var(--d); font-size: 1.1rem; }

nav { display: flex; gap: 5px; align-items: center; background: rgba(255, 255, 255, 0.7); padding: 5px; border-radius: 14px; border: 1px solid rgba(0, 91, 181, 0.1); }
nav a { text-decoration: none; color: var(--t); font-weight: 500; font-size: 0.9rem; padding: 8px 16px; border-radius: 10px; transition: all 0.3s ease; }
nav a:hover { color: var(--p); background: rgba(0, 91, 181, 0.08); }
nav a.active { background: var(--p) !important; color: white !important; box-shadow: 0 4px 10px rgba(0, 91, 181, 0.3); }
.nav-highlight { background: var(--d) !important; color: white !important; margin-left: 5px; }

/* --- 3. HERO SEKCE A TLAČÍTKO --- */
.hero { padding: 5rem 5%; text-align: center; background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%); }
h1 { font-size: 2.5rem; color: var(--d); margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; color: #555; }

/* TLAČÍTKO - Tady je to nové nastavení */
.hero-btn { 
    display: inline-block; 
    background-color: var(--p); 
    color: white !important; 
    padding: 16px 40px; 
    border-radius: 50px; 
    text-decoration: none !important; 
    font-weight: 600; 
    font-size: 1.1rem; 
    box-shadow: 0 4px 15px rgba(0, 91, 181, 0.3); 
    transition: all 0.3s ease; 
}
.hero-btn:hover { 
    background-color: var(--d); 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(0, 91, 181, 0.4); 
}

/* --- 4. BENEFIT BAR A GRID --- */
.benefit-bar { background: #f0faf4; padding: 1.2rem; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; font-weight: 600; color: #1e7e34; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; padding: 4rem 5%; max-width: 1200px; margin: 0 auto; }
.card { padding: 2.5rem; border: 1px solid #eee; border-radius: 15px; background: #fff; transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* --- 5. TECHNIKA A PRAXE --- */
.tech-stack, .cert-section { padding: 4rem 5%; max-width: 900px; margin: 0 auto; }
.tech-box { background: var(--w); padding: 3rem; border-radius: 25px; border: 1px solid rgba(0, 91, 181, 0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.tech-box ul { list-style: none; margin-top: 2rem; display: grid; gap: 15px; }
.tech-box li { padding: 15px; background: #fcfdfe; border-radius: 12px; border-left: 4px solid var(--p); display: flex; align-items: center; }
.tech-box li strong { min-width: 180px; color: var(--d); margin-right: 15px; }

.cert-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.cert-table td { padding: 1.2rem; border-bottom: 1px solid #eee; }
.cert-table tr td:first-child { width: 30%; color: var(--d); font-weight: 600; }

.story { padding: 5rem 5%; background: var(--d); color: #fff; text-align: center; }
.story-content { max-width: 800px; margin: 0 auto; }

.contact { padding: 5rem 5%; text-align: center; background: var(--bg); }
.contact-box { background: #fff; padding: 2.5rem; border-radius: 20px; display: inline-block; text-align: left; border: 1px solid #eee; box-shadow: 0 10px 25px rgba(0,0,0,0.03); }

/* --- 6. PATIČKA --- */
footer { padding: 3rem 2rem; text-align: center; border-top: 1px solid #eee; }
footer a { color: var(--p); text-decoration: none; font-size: 0.9rem; }
.stats-container { margin-top: 2rem; }
.stats-container a img { filter: grayscale(0.2); transition: 0.3s; }
.stats-container a img:hover { filter: grayscale(0); }

/* --- 7. MOBILNÍ VERZE --- */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 1rem; }
    nav { margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
    h1 { font-size: 1.8rem; }
    .grid { padding: 2rem 5%; }
    .tech-box { padding: 1.5rem; }
    .tech-box li { flex-direction: column; align-items: flex-start; }
}