/* Professional Navbar Styles */
nav {
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(224, 225, 221, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}

.nav-container {
    position: relative;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    height: 100px;
}

.nav-header {
    display: flex;
    align-items: center;
    padding: 0;
    height: 100px;
}

.logo-item {
    margin: 0;
    margin-right: 1rem;
    padding: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0 2rem 0 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    height: 100px;
}


.navbar-logo {
    height: 100px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    mix-blend-mode: darken;
    background: transparent;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.logo-item {
    display: flex;
    align-items: center;
}

.logo-item a::before {
    display: none;
}

.logo-item a:hover {
    background-color: transparent;
    transform: none;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0d1b2a;
    transition: all 0.3s ease;
    border-radius: 2px;
}

nav li {
    margin: 0;
    position: relative;
}

nav a {
    color: #0d1b2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
    text-transform: uppercase;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d1b2a, #1b263b);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

nav a:hover {
    background-color: rgba(13, 27, 42, 0.1);
    color: #1b263b;
    transform: translateY(-1px);
}

nav a:hover::before {
    width: 80%;
}

nav a:active {
    transform: translateY(0);
    background-color: rgba(13, 27, 42, 0.2);
}

/* Hamburger Animation - Active State */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
    }
    
    .nav-header {
        height: 75px;
        padding: 0 1rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 4px 20px rgba(224, 225, 221, 0.3);
    }
    
    .nav-menu.active {
        height: auto;
        max-height: 500px;
    }
    
    .logo-item {
        margin-right: 0;
    }
    
    .navbar-logo {
        height: 65px;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(13, 27, 42, 0.1);
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    nav a::before {
        display: none;
    }
    
    nav a:hover {
        background-color: rgba(13, 27, 42, 0.1);
        transform: none;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        height: 70px;
    }
    
    .nav-header {
        height: 70px;
    }
    
    .nav-menu {
        top: 70px;
    }
}
