/* Navigation Styles */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 25px rgba(138, 43, 226, 0.8));
    transform: scale(1.02);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-brand a:hover {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #8a2be2, #9370db);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-btn, .cart-btn {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    position: relative;
    backdrop-filter: blur(10px);
}

.search-btn:hover, .cart-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.6);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid rgba(26, 26, 46, 0.9);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.cart-count.visible {
    display: flex;
}

/* Removed pulse animation for better performance */

/* Scroll Animation */
.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
} 