/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #4B4E53;
    letter-spacing: 1px;
    margin-left: -20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #4B4E53;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #4B4E53;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-item.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #4B4E53;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 8%;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 25px;
        width: calc(100% - 50px);
    }

    .nav-link {
        display: block;
        font-size: 14px;
        padding: 10px 0;
    }
}