/* ZÁKLADNÍ NASTAVENÍ A PROMĚNNÉ */
:root {
    --bg-left: #13151a;
    --bg-right: #1a1c23;
    --bg-light: #f5f5f5;
    --border-light: #e5e5e5;
    --border-dark: #2a2c35;
    --accent: #ff0f49;
    --accent-glow: rgba(255, 15, 73, 0.4);
    --text-white: #ffffff;
    --text-gray: #a0a4b8;
    --text-dark: #111216;
    --text-dark-gray: #666666;
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-left);
    color: var(--text-white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-padding { padding: 100px 8%; }

/* --- HERO SEKCE --- */
.hero-section { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; }

/* OPRAVA NAVIGACE A LOGA (Zabraňuje překrývání) */
.navbar { 
    position: relative; /* Změněno z absolute, aby vytvářelo přirozený prostor seshora */
    width: 100%; 
    padding: 40px 8% 20px 8%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 10; 
    background-color: var(--bg-left);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: white;
    position: relative; 
    z-index: 10;
    text-decoration: none;
}

.logo-icon { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--accent); flex-shrink: 0; }
.nav-links a { color: var(--text-white); text-decoration: none; margin-left: 40px; font-size: 0.9rem; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent); }

.hero-container { display: flex; flex: 1; min-height: calc(100vh - 100px); }
.hero-content { flex: 1; background-color: var(--bg-left); padding: 20px 5% 0 8%; display: flex; flex-direction: column; justify-content: center; }
.subtitle { color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.subtitle.text-black { color: #111216; }

h1 { font-size: 5rem; font-weight: 900; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px; }
.text-accent { color: var(--accent); }
.description { color: var(--text-gray); font-size: 1.1rem; line-height: 1.6; max-width: 450px; margin-bottom: 40px; }

/* TLAČÍTKA */
.cta-group { display: flex; align-items: center; gap: 30px; margin-bottom: 50px; }
.btn { text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 8px; }
.btn-primary { background-color: var(--accent); color: var(--text-white); box-shadow: 0 0 20px var(--accent-glow); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(255, 15, 73, 0.7); transform: translateY(-2px); }
.btn-secondary { color: var(--text-white); padding: 16px 0; }
.btn-secondary:hover { color: var(--accent); }
.btn-outline { background: transparent; border: 1px solid #333; color: var(--text-white); }
.btn-outline:hover { border-color: var(--accent); background: var(--bg-left); }
.btn-dark { background-color: var(--bg-left); color: var(--text-white); border: 1px solid var(--bg-left); }
.btn-dark:hover { background-color: transparent; border-color: #111216; color: #111216; }

.features { display: flex; gap: 30px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-gray); }
.feature-item svg { width: 18px; height: 18px; }

/* Pravá část Hero grafika */
.hero-graphic { flex: 1; background: linear-gradient(135deg, #1c1d24 0%, #111216 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.glow-line { position: absolute; width: 150%; height: 4px; background-color: var(--accent); top: 50%; left: -25%; transform: rotate(-15deg); box-shadow: 0 0 25px 5px var(--accent); z-index: 1; }
.graphic-center { position: relative; z-index: 2; border-radius: 50%; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.circle { border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.circle-outer { width: 400px; height: 400px; background: #24252d; border: 1px solid #333; }
.circle-middle { width: 250px; height: 250px; background: #111216; border: 20px solid #1a1c23; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }
.circle-inner { width: 100px; height: 100px; background: #ffffff; box-shadow: 0 0 20px var(--accent-glow); }
.logo-text-inner { color: var(--accent); font-weight: 900; font-size: 2rem; letter-spacing: -2px; }
.graphic-footer { position: absolute; bottom: 40px; right: 40px; font-size: 0.7rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.3); z-index: 2; }


/* --- SEKCE: SLUŽBY (Světlý design) --- */
.section-light { background-color: var(--bg-light); color: var(--text-dark); }
.section-light .subtitle { margin-bottom: 10px; display: block; }
h2.title-dark { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 50px; letter-spacing: -1px; color: var(--text-dark); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.service-card {
    padding: 40px 30px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: transparent;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover { background-color: #ffffff; }

.card-header { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.card-num { color: var(--text-dark-gray); font-size: 0.85rem; font-weight: 600; }
.card-icon { width: 24px; height: 24px; color: var(--accent); }

.card-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; }
.card-desc { font-size: 0.85rem; color: var(--text-dark-gray); line-height: 1.6; margin-bottom: 20px; }
.card-arrow { margin-top: auto; align-self: flex-end; font-size: 1.2rem; font-weight: bold; color: var(--text-dark); transition: color 0.3s; }
.service-card:hover .card-arrow { color: var(--accent); }


/* --- ROZLOŽENÍ SPLIT (PRO O NÁS A KONTAKT) --- */
.split-layout { display: flex; gap: 50px; align-items: center; }
.split-left { flex: 1; padding-right: 5%; }
.split-right { flex: 1; }
h2.title-light { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 30px; letter-spacing: -1px; color: var(--text-white); }


/* --- SEKCE: O NÁS (Tmavý design) --- */
.section-dark { background-color: var(--bg-right); border-top: 1px solid #2a2a2a; }

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-dark);
    border-left: 1px solid var(--border-dark);
}

.stat-box {
    padding: 50px 30px;
    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.empty-box { background-color: #20222a; }

.stat-number { color: var(--accent); font-size: 3.5rem; font-weight: 900; margin-bottom: 5px; }
.stat-label { color: var(--text-gray); font-size: 0.9rem; }


/* --- SEKCE: KONTAKT (Červený design) --- */
.section-accent { background-color: var(--accent); color: var(--text-white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: 500; }
.contact-item svg { width: 24px; height: 24px; stroke: white; }


/* --- PATIČKA --- */
.footer { background-color: var(--bg-left); padding: 40px 8%; border-top: 1px solid #1a1a1a; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.copyright { color: var(--text-gray); font-size: 0.85rem; }


/* --- RESPONZIVITA (Mobily a Tablety) --- */
@media (max-width: 1024px) {
    .hero-container { flex-direction: column; }
    .hero-content { padding: 40px 5% 50px 5%; align-items: center; text-align: center; }
    .hero-graphic { min-height: 500px; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .split-layout { flex-direction: column; text-align: center; }
    .split-left { padding-right: 0; margin-bottom: 50px; }
    .split-left p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2.title-dark, h2.title-light { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid, .contact-grid { grid-template-columns: 1fr; }
    .cta-group { flex-direction: column; gap: 15px; }
    .footer-content { flex-direction: column; gap: 20px; }
    .navbar { padding: 20px 5%; }
}