/* Enhanced Menu Bar Styles */

/* Header Enhancement */
.header_default {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header_default.is-sticky {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

/* Logo Enhancement */
.header_logo_box {
    position: relative;
}

.header_logo_box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

/* Navigation Menu Enhancement */
.navbar_nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar_nav .menu-item {
    position: relative;
}

/* Menu Links */
.navbar_nav .nav-link {
    position: relative;
    padding: 12px 20px !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar_nav .nav-link span {
    position: relative;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #242424 !important;
}

/* Hover Effect - Subtle Background */
.navbar_nav .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.navbar_nav .nav-link:hover span {
    color: #000 !important;
}

/* Active Link Indicator */
.navbar_nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: #242424;
    transition: transform 0.3s ease;
}

.navbar_nav .nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar_nav .nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
    background: #000;
    height: 3px;
}

.navbar_nav .nav-link.active span {
    color: #000 !important;
    font-weight: 700 !important;
}

/* Animated Underline on Hover */
.navbar_nav .nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar_nav .nav-link:hover::after {
    opacity: 1;
}

/* Hamburger Menu Enhancement */
.hamburger_menu {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
}

.hamburger_menu:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.05);
}

.hamburger_menu .line {
    background: #242424 !important;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Add subtle animation to menu items on page load */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar_nav .menu-item {
    animation: fadeInDown 0.5s ease forwards;
    opacity: 0;
}

.navbar_nav .menu-item:nth-child(1) { animation-delay: 0.1s; }
.navbar_nav .menu-item:nth-child(2) { animation-delay: 0.2s; }
.navbar_nav .menu-item:nth-child(3) { animation-delay: 0.3s; }
.navbar_nav .menu-item:nth-child(4) { animation-delay: 0.4s; }
.navbar_nav .menu-item:nth-child(5) { animation-delay: 0.5s; }

/* Header Container */
.header_area {
    position: relative;
}

.header_area::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,0.05) 20%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.05) 80%,
        transparent 100%);
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    .navbar_nav .nav-link::before {
        display: none;
    }

    .navbar_nav .menu-item {
        animation: none;
        opacity: 1;
    }
}

/* Mobile Menu Enhancement */
.crt_mobile_menu .menu-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.crt_mobile_menu .close-btn {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.crt_mobile_menu .close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}
