:root {
    --p: #0066b3;
    --s: #00aeef;
    --dark-pro: #0a2540;
    --text: #425466;
    --light-bg: #f8fbff;
}

* { margin:0; padding:0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }

.container { max-width: 1140px; margin:0 auto; padding:0 20px; }

/* HEADER */
header { height: 90px; border-bottom: 1px solid #edf2f7; display: flex; align-items: center; background: #fff; position: sticky; top: 0; z-index: 1000; }
.header-flex { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 48px; }

.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark-pro); font-weight: 700; font-size: 13px; margin-left: 40px; transition: 0.3s; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--s); }

/* HAMBURGER MENU STYLY */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--dark-pro); }

/* HERO BOX */
.hero-box {
    padding: 140px 0;
    background: url('https://www.klemmdesign.cz/prima-ucetnictvi/pozadi.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6));
}

.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.top-line { width: 60px; height: 3px; background: var(--s); margin: 0 auto 30px; }

.hero-box h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-box h1 span { color: var(--s); }
.hero-desc { font-size: 1.3rem; margin-bottom: 45px; font-weight: 500; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }

.btn-main { background: var(--s); color: #fff; padding: 20px 45px; border-radius: 4px; text-decoration: none; font-weight: 700; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: 2px solid var(--s); display: inline-block; }
.btn-main:hover { background: transparent; border-color: #fff; transform: translateY(-3px); }

/* STŘEDNÍ TMAVÁ SEKCE */
.middle-section { background: var(--dark-pro); padding: 100px 0; color: #fff; }
.text-center { text-align: center; margin-bottom: 60px; }
.sub-title { color: var(--s); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; }
.light-h2 { font-size: 2.5rem; color: #fff; margin-top: 10px; font-weight: 700; }
.accent-line { width: 50px; height: 2px; background: var(--s); margin: 25px auto 0; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.s-card-modern { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); padding: 50px 35px; border-radius: 8px; position: relative; transition: 0.4s ease; text-align: center; }
.s-card-modern:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-10px); border-color: var(--s); }
.s-card-icon { width: 55px; height: 55px; color: var(--s); margin: 0 auto 25px; }
.s-card-modern h4 { font-size: 18px; font-weight: 600; color: #fff; }
.s-card-border { position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--s); transition: 0.4s ease; transform: translateX(-50%); }
.s-card-modern:hover .s-card-border { width: 60%; }

/* ODKAZY */
.links-section { padding: 100px 0; background: var(--light-bg); }
.links-header { margin-bottom: 50px; border-left: 6px solid var(--p); padding-left: 25px; }
.links-header h3 { font-size: 24px; color: var(--dark-pro); font-weight: 800; }
.links-header p { font-size: 15px; color: var(--text); }
.links-grid-new { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.link-card { background: #fff; padding: 22px 30px; border-radius: 8px; text-decoration: none; color: var(--dark-pro); font-weight: 700; font-size: 15px; border: 1px solid #eef2f6; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.link-card .arrow { color: var(--s); font-style: normal; font-weight: 900; opacity: 0.5; transition: 0.3s; }
.link-card:hover { border-color: var(--s); transform: translateX(5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.link-card:hover .arrow { opacity: 1; transform: translateX(3px); }

/* FOOTER */
footer { background: #081e34; color: #adbdcc; padding: 80px 0 0; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; padding-bottom: 60px; }
.f-brand img { height: 55px; margin-bottom: 25px; }
.f-brand p { max-width: 400px; font-size: 14px; }
.f-contact h5 { color: #fff; margin-bottom: 25px; font-size: 15px; }
.f-contact p { font-size: 14px; margin-bottom: 12px; }
.footer-bottom { background: #051422; padding: 25px 0; color: #697386; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }

/* RESPONSIVITA & HAMBURGER MENU */
@media (max-width: 992px) {
    .hero-box h1 { font-size: 2.8rem; }
    
    .menu-toggle { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 40px 0;
    }

    .nav-links.active { left: 0; }
    .nav-links li { margin: 20px 0; }
    .nav-links a { margin-left: 0; font-size: 18px; }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .hero-box h1 { font-size: 2.2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}