/* ============================================
   NAVBAR CSS - Safarnamaa
   ============================================ */

/* --- TOP BAR --- */
.topbar {
    background: #1a1a2e;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left  { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }

.topbar-link {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration: none;
}

.topbar-link:hover { color: #f0a500; }
.topbar-link i     { font-size: 11px; }

.topbar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
}

.lang-btn.active,
.lang-btn:hover {
    color: #f0a500;
    background: rgba(240,165,0,0.15);
}

.lang-divider { color: rgba(255,255,255,0.3); font-size: 12px; }

/* Social Icons */
.topbar-social { display: flex; align-items: center; gap: 8px; }

.social-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover { background: #f0a500; color: white; }

/* ============================================
   MAIN NAVBAR - STICKY
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.main-navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    height: 52px;
    max-height: 52px;
    overflow: hidden;
}

/* Logo image — box ke andar fit, navbar height nahi badhegi */
.navbar-logo-img {
    height: 52px;
    max-height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text    { display: flex; flex-direction: column; }

.logo-main {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    color: #888;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Nav Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background: rgba(102,126,234,0.08);
}

/* Dropdown */
.dropdown-parent:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.05);
    list-style: none;
}

.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.dropdown-item-custom:hover {
    background: #f8f9ff;
    color: #667eea;
    transform: translateX(5px);
}

.dropdown-item-custom.view-all {
    color: #667eea;
    font-weight: 700;
    background: rgba(102,126,234,0.06);
}

.dropdown-divider-custom {
    height: 1px;
    background: #f0f0f0;
    margin: 5px 0;
}

/* CTA Button */
.navbar-cta { display: flex; align-items: center; gap: 15px; }

.btn-enquire {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.btn-enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
    color: white;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .topbar { display: none; }

    .mobile-toggle { display: flex; }

    .navbar-menu {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 998;
        gap: 5px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f9ff;
        margin-top: 5px;
    }

    .btn-enquire span { display: none; }
}