
/* Header Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5em;
    font-weight: bold;
    color: #2c3e50;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-center {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-center a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-center a:hover {
    background: #f8f9fa;
    color: #007bff;
}

.login-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    gap: 4px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav a:hover {
    background: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

/* Responsive Header */
@media (max-width: 768px) {
    nav {
        padding: 12px 15px;
        justify-content:space-between;
    }
    
    .nav-center {
        display: none;
    }
    
    .burger-menu {
        display: flex;
        order:5;
    }
    
    .login-btn {
        margin:0 5px;
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .nav-brand {
        font-size: 1.3em;
        margin-right: auto;
    }
    
    .logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2em;
        gap: 8px;
    }
    
    .logo {
        height: 30px;
    }
    
    .login-btn {
        padding: 6px 12px;
        font-size: 0.85em;
        margin-right: 10px;
    }
    
    .burger-menu {
        padding: 3px;
    }
    
    .burger-line {
        width: 22px;
        height: 2.5px;
    }
}
