 /* Main Navbar */
.logo-img{
    max-height:50px;
}
.navbar {
    font-family: 'Nunito Sans', sans-serif;
    background: #ffffff;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-family: 'Gilda Display', serif;
    font-size: 2rem;
    color: #2d3436 !important;
    padding: 25px 0;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #2d3436 !important;
    font-weight: 400;
    padding: 30px 20px !important;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #ff6b6b !important;
}

.nav-link.active {
    color: #ff6b6b !important;
    font-weight: 600;
}

/* Side Mega Menu */
.mega-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 30px;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    z-index: 1050;
}

.mega-menu.show {
    right: 0;
}

.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.mega-menu-title {
    font-family: 'Gilda Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: #2d3436;
}

.mega-menu-close, .mega-menu-close-profile {
    background: none;
    border: none;
    color: #2d3436;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.mega-menu-close:hover,  .mega-menu-close-profile:hover {
    color: #ff6b6b;
}

.mega-menu-section {
    margin-bottom: 30px;
}

.mega-menu-section h6 {
    color: #2d3436;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list a {
    color: #2d3436;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: all 0.3s;
}

.mega-menu-list a:hover {
    color: #ff6b6b;
    padding-left: 5px;
}

.mega-menu-list a i {
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Search Box */
.search-box {
    position: relative;
    margin-right: 25px;
}

.search-box input {
    width: 220px;
    padding: 10px 40px 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    width: 260px;
    border-color: #ff6b6b;
}

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

.search-box button:hover {
    color: #ff6b6b;
}

/* Icons */
.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon {
    position: relative;
    color: #2d3436;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.nav-icon:hover {
    color: #ff6b6b;
    transform: translateY(-2px);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Overlay */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1040;
}

.mega-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1199px) {
    .navbar-brand {
        font-size: 1.8rem;
        padding: 15px 0;
    }

    .navbar-toggler {
        border: none;
        padding: 10px;
    }

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

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-link {
        padding: 12px 20px !important;
    }

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

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

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

    .mega-menu {
        width: 300px;
    }
}

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

    .mega-menu {
        width: 280px;
    }

    .nav-icons {
        gap: 15px;
    }
}