/* Navigation Styles */
header {
    padding: 1.8rem 3rem 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    margin-right: -1.6rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    margin: 0 1.2rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 70%;
    background-color: #000;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    z-index: 1000;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    header {
        padding: 1.5rem 2rem 0.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.2rem 1.5rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        margin: 0;
        padding: 2rem 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }
    
    .nav-links a::after {
        display: none;
    }
}
