/* ==========================================
   HLAVIČKA (HEADER) - JEDNOTNÝ ŠTÝL
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000;
    z-index: 10000;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.header.hide {
    transform: translateY(-100%);
}

.header .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* LOGO - Nastavené na optimálnu šírku 210px */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 210px !important;
    height: auto !important;
    display: block;
}

/* NAVIGÁCIA */
.nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 4px 0;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
    border: none !important;
}

.nav a:hover {
    color: #ff2a1a;
}

/* Červený pasik pod aktívnym odkazom a pri hoveri */
.nav a.active::after,
.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff2a1a;
}

/* HAMBURGER PRE MOBILY */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10002;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* MOBILNÉ MENU */
@media (max-width: 992px) {
    .header {
        padding: 12px 0 !important;
    }

    .header .container {
        padding: 0 20px;
    }

    .logo img {
        width: 160px !important;
    }

    .hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        padding: 12px 8px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000000;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 10001;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav a {
        font-size: 20px;
        font-weight: 800;
    }
}
