/* Custom Navbar Animations - Enhanced Version */

/* 0. Remove Top Bar (White/Colored Bar) */
.header-text-area {
    display: none !important;
}

/* 1. Navbar Container Animations */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Sticky Navbar (Glassmorphism Effect) */
.navbar.sticky {
    background: rgba(15, 18, 36, 0.85) !important; /* Darker, more solid */
    backdrop-filter: blur(15px); /* Stronger blur */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(44, 205, 238, 0.1); /* Subtle cyan border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 2. Nav Item Links - Cool Sci-Fi Animation */
.navbar-nav .nav-item .nav-link {
    position: relative;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px; /* Add padding for background effect */
    border-radius: 4px;
    z-index: 1;
}

/* Glow Effect on Hover */
.navbar-nav .nav-item .nav-link:hover {
    color: #2CCDEE !important;
    text-shadow: 0 0 8px rgba(44, 205, 238, 0.6), 
                 0 0 15px rgba(44, 205, 238, 0.4);
    background: rgba(44, 205, 238, 0.05); /* Very subtle background tint */
}

/* Advanced Underline Animation (Center Out + Glow) */
.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 100%; /* Full width but scaled down initially */
    height: 2px;
    bottom: 0;
    left: 0;
    background: #2CCDEE;
    box-shadow: 0 0 10px rgba(44, 205, 238, 0.8); /* Neon Glow */
    transform: scaleX(0);
    transform-origin: center; /* Expands from center */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    opacity: 0.8;
}

.navbar-nav .nav-item .nav-link:hover::after {
    transform: scaleX(0.8); /* Not full width, just 80% looks cleaner */
}

/* Active State */
.navbar-nav .nav-item .nav-link.active {
    color: #2CCDEE !important;
    text-shadow: 0 0 5px rgba(44, 205, 238, 0.5);
}

.navbar-nav .nav-item .nav-link.active::after {
    transform: scaleX(0.8);
    background: linear-gradient(90deg, #2CCDEE, #727AEC);
    box-shadow: none; /* Less aggressive on active state */
}

/* 3. Navbar Brand (Logo) - Holographic Float */
.navbar-brand img {
    transition: all 0.5s ease;
    display: block;
    filter: drop-shadow(0 0 0 transparent);
}

.navbar-brand:hover img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(44, 205, 238, 0.5));
}

/* 4. Others Option (Buttons/Icons) */
.others-option .option-item {
    transition: transform 0.3s ease;
}

.others-option .option-item:hover {
    transform: translateY(-2px);
}

/* Search/Cart Icons - Neon Pulse */
.search-btn i, 
.cart-btn i {
    transition: all 0.3s ease;
}

.search-btn:hover i, 
.cart-btn:hover i {
    color: #2CCDEE;
    text-shadow: 0 0 8px rgba(44, 205, 238, 0.8);
    transform: scale(1.1);
}

/* Custom Button Hover Effect (if present in navbar) */
.navbar .default-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar .default-btn:hover {
    box-shadow: 0 0 15px rgba(44, 205, 238, 0.4);
    border-color: rgba(44, 205, 238, 0.5);
    transform: translateY(-2px);
}
