/* ========================================
   DESKTOP NAVBAR IMPROVEMENTS
   ======================================== */

/* Enhanced Navbar Styling */
.navbar {
    background: linear-gradient(to bottom, #ffffff, #fefefe) !important;
    box-shadow: 0 2px 15px rgba(199, 154, 114, 0.08) !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(199, 154, 114, 0.05);
    transition: all 0.3s ease;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    backdrop-filter: blur(10px);
}

/* Add padding to body to prevent content jump */
body {
    padding-top: 0 !important;
}

/* Sticky Navbar with Shadow on Scroll */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(199, 154, 114, 0.12) !important;
}

/* Navbar Brand Enhancement */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(-5deg) scale(1.05);
}

/* Navigation Links Enhancement */
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    color: var(--text-body) !important;
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(199, 154, 114, 0.08), rgba(248, 233, 228, 0.1));
    color: var(--primary-rose-gold) !important;
    transform: translateY(-2px);
}

/* Active Link Indicator */
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-rose-gold), var(--dark-brown));
    color: white !important;
    box-shadow: 0 4px 12px rgba(199, 154, 114, 0.3);
}

/* Underline Effect for Links */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-rose-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.navbar-nav .nav-link.active::after {
    width: 0;
}

/* Download App Button Enhancement */
.navbar-nav .btn-primary {
    background: linear-gradient(135deg, var(--primary-rose-gold), var(--dark-brown)) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(199, 154, 114, 0.25);
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.navbar-nav .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(199, 154, 114, 0.35);
}

.navbar-nav .btn-primary i {
    margin-left: 6px;
}

/* Profile Dropdown Enhancement */
.navbar-profile-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(199, 154, 114, 0.2);
}

.navbar-profile-img:hover {
    border-color: var(--primary-rose-gold);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(199, 154, 114, 0.3);
}

/* Dropdown Menu Enhancement */
.dropdown-menu {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(199, 154, 114, 0.15) !important;
    padding: 0.75rem !important;
    margin-top: 0.75rem !important;
    background: white;
    min-width: 220px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1rem !important;
    border-radius: 10px !important;
    font-weight: 500;
    transition: all 0.2s ease;
    color: var(--text-body) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-rose-gold);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(199, 154, 114, 0.1), rgba(248, 233, 228, 0.15)) !important;
    color: var(--primary-rose-gold) !important;
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 0.5rem 0 !important;
    border-color: rgba(199, 154, 114, 0.1) !important;
}

/* Login/Register Links Enhancement */
.navbar-nav .nav-item:last-child .nav-link {
    background: linear-gradient(135deg, var(--soft-pink), var(--beige-light));
    color: var(--dark-brown) !important;
    font-weight: 600;
    border: 2px solid transparent;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
    background: linear-gradient(135deg, var(--primary-rose-gold), var(--dark-brown));
    color: white !important;
    border-color: var(--primary-rose-gold);
    box-shadow: 0 4px 12px rgba(199, 154, 114, 0.3);
}

/* Center Navigation Items */
.navbar-collapse {
    justify-content: center;
}

/* Navbar Container */
.navbar .container {
    max-width: 1400px;
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Toggle Button (for tablets) */
.navbar-toggler {
    border: 2px solid var(--primary-rose-gold) !important;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(199, 154, 114, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(199, 154, 114, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Responsive Adjustments for Desktop */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0.6rem 1.3rem !important;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .navbar .container {
        max-width: 1600px;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.05rem;
        padding: 0.65rem 1.5rem !important;
    }
}

/* Add subtle animation on page load */
@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: navbarSlideDown 0.5s ease;
}

/* Badge for notifications (if needed) */
.nav-item .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-rose-gold);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}
