/* Hamburger menu button */
.hamburger-menu {
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background: #6b6b6b;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hamburger-menu span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile First - základní styly pro mobily */
.avatar-container {
    text-align: center;
    padding: 10px;
    background: #c7c9c9;
    flex-shrink: 0;
}

.avatar-container .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.menu-wrapper {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 100vh;
    background: #c7c9c9;
    position: fixed;
    left: -250px;
    top: 0;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}

.menu-wrapper.menu-open {
    left: 0;
}

nav.menu {
    display: flex;
    flex: 1;
    background: #c7c9c9;
    font-size: 0;
}

nav.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

nav.menu ul li {
    flex: none;
    width: 100%;
    display: block;
}

nav.menu a {
    display: block;
    padding: 15px 20px;
    color: rgb(0, 0, 0);
    line-height: 1.2em;
    text-decoration: none;
    font-family: "Century Schoolbook L";
    font-size: 16px;
    font-weight: bolder;
    text-align: left;
}

nav.menu a:hover {
    text-decoration: none;
}

/* Tablet styly - od 768px */
@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
    
    .menu-wrapper {
        left: 0;
        width: 220px;
        background: #c5cec5;
    }
    
    .avatar-container {
        background: #c5cec5;
        padding: 20px;
    }
    
    .avatar-container .avatar {
        width: 70px;
        height: 70px;
        border: 3px solid white;
    }
    
    nav {
        background: #c5cec5;
    }
    
    nav a {
        padding: 18px 20px;
        font-size: 15px;
    }
}

/* Desktop styly - od 1024px */
@media (min-width: 1024px) {
    .menu-wrapper {
        width: 200px;
        background: #c5cec5;
    }

    .avatar-container {
        background: #c5cec5;
        padding: 25px;
    }
    
    .avatar-container .avatar {
        width: 90px;
        height: 90px;
    }

    nav {
        background: #c5cec5;
    }

    nav a {
        padding: 20px;
        font-size: 16px;
        line-height: 20px;
    }
}

/* Velké obrazovky - od 1440px */
@media (min-width: 1440px) {
    .menu-wrapper {
        width: 250px;
    }
    
    .avatar-container {
        padding: 30px;
    }
    
    .avatar-container .avatar {
        width: 120px;
        height: 120px;
        border: 4px solid white;
    }
    
    nav a {
        padding: 25px;
        font-size: 18px;
    }
}