.navbar{
    font-family: 'Quicksand', sans-serif;
}
.logo-img{
    max-height:50px;
}
.gradient-navbar {
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.gradient-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    opacity: 0.95;
    transition: opacity 0.3s;
}

.gradient-navbar.scrolled::before {
    opacity: 0.98;
}

/* Brand */
.navbar-brand {
    font-family: 'Italiana', serif;
    font-size: 2rem;
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    position: relative;
    z-index: 1;
}

/* Navigation Links */
.nav-item {
    position: relative;
    margin: 0 5px;
    z-index: 1;
}

.nav-link {
    color: #1e293b !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    color: #ffffff !important;
}

/* Search Box */
.search-box {
    position: relative;
    margin-right: 15px;
    z-index: 1;
}

.search-box input {
    width: 200px;
    padding: 8px 35px 8px 15px;
    border: 1px solid #8b5cf6;
    border-radius: 20px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    width: 220px;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #1e293b;
    transition: color 0.3s;
}

.search-box button:hover {
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Icons */
.nav-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 1;
}

.nav-icon {
    position: relative;
    color: #1e293b;
    text-decoration: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-icon:hover {
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    color: #ffffff;
    transform: translateY(-2px);
}

.icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    color: #1e293b;
    border-radius: 10px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    color: #ffffff !important;
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background: linear-gradient(to right, #a78bfa, #7c3aed);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        margin-top: 15px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        position: relative;
        z-index: 1;
    }

    .nav-item {
        margin: 5px 0;
    }

    .search-box {
        width: 100%;
        margin: 15px 0;
    }

    .search-box input,
    .search-box input:focus {
        width: 100%;
    }

    .nav-icons {
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .nav-icon {
        width: 32px;
        height: 32px;
    }
}