/* =====================
   ZÁKLADNÍ NASTAVENÍ
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    min-height: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.5;
    position: relative;
}

/* =====================
   NAVBAR (DESKTOP)
===================== */
header {
    height: 100px;
    padding: 0 2rem;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1100;
}

#logo h1 {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-grow: 1;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav ul li a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition-duration: 0.2s;
}

nav ul li.active a,
nav ul li a:hover {
    color: #ff6600;
}

#info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* TLAČÍTKA */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.btn.primary {
    background: #ff6600;
    color: #fff;
}

.btn.primary:hover {
    background: #ec5f00;
}

.btn.secondary {
    border: 2px solid #ff6600;
    color: #ff6600;
}

.btn.secondary:hover {
    background: rgba(255, 102, 0, 0.1);
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: #111;
    border-radius: 2px;
    transition: 0.3s;
}

/* =====================
   FOOTER
===================== */
footer {
    background: #111;
    color: #fff;
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

/* 1. sloupec – může se zalamovat */
.footer-col:first-child {
    max-width: 320px;
    flex-shrink: 0;
}

.footer-col:first-child p {
    white-space: normal;
}

/* ostatní sloupce – nikdy nezalamovat */
.footer-col:not(:first-child) {
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col h4 {
    padding-bottom: 1rem;
}

.footer-col p,
.footer-col ul li {
    color: #bbb;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #ec5f00;
}

.footer-bottom {
    margin: 2rem 0 1.5rem;
    text-align: center;
    color: #bbb;
}

/* =====================
   RESPONSIVITY
===================== */
@media (max-width: 1150px) {
    header {
        height: 80px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: 0.4s ease;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    #info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* 📱 FOOTER POD SEBE */
@media (max-width: 1400px) {
    .footer-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }

    .footer-col {
        white-space: normal;
        max-width: 100%;
    }
}
