/* ============================================
   PREMIUM NAVBAR DESIGN - Luxurious Theme
   ============================================ */

/* ========== TOP BAR STYLING ========== */
.premium-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 8px 0;
    z-index: 10060;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.top-bar-info {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.info-item i {
    font-size: 12px;
    opacity: 0.9;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.top-action-btn i {
    font-size: 11px;
}

.top-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========== PREMIUM NAVBAR STYLING ========== */
.premium-header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10050;
    padding: 4px 0;
    /* TRANSPARENT INITIAL STATE - appears over hero section */
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: none;
    box-shadow: none;
    transition: background-color 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                padding 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: background-color, box-shadow;
    border: none;
}

/* Scrolled State - White Background Fade In */
.premium-header.scrolled {
    top: 40px;
    /* Smooth white background fade-in with subtle gradient for premium feel */
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 58, 110, 0.08);
}

.premium-header.scrolled .navbar-brand-logo img {
    height: 70px;
    max-width: 130px;
}

.premium-header.scrolled .navbar-brand-logo {
    margin-bottom: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

/* Separate Logo Styling */
.navbar-brand-logo {
    flex-shrink: 0;
    position: relative;
    z-index: 10051;
    margin-bottom: -25px;
}

.navbar-brand-logo .logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.navbar-brand-logo .logo-link:hover {
    transform: scale(1.05);
}

.navbar-brand-logo img {
    height: 102px;
    max-width: 183px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.premium-navbar {
    width: auto;
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
}

.navbar-pill-wrapper {
    display: none;
}

/* ========== LOGO CIRCLE (REMOVED FROM NAVBAR) ========== */
.navbar-logo-circle {
    display: none;
}

/* ========== NAVIGATION MENU ========== */
.premium-nav-menu {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    padding: 0;
}

.nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 0 1 auto;
}

.nav-items li {
    position: relative;
}

/* INITIAL STATE: Transparent over hero - white contrasting text with subtle text-shadow */
.nav-items li a {
    display: block;
    padding: 12px 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: transparent;
}

/* Premium underline hover effect */
.nav-items li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f7bc2 0%, #2d5aa3 100%);
    transition: width 0.3s ease;
}

.nav-items li a:hover::after,
.nav-items li.active a::after {
    width: 100%;
}

.nav-items li a:hover {
    color: #ffffff;
}

.nav-items li.active a {
    color: #ffffff;
    background: transparent;
    font-weight: 600;
}

/* SCROLLED STATE: Dark text on white background */
.premium-header.scrolled .nav-items li a {
    color: #1a3a6e;
    text-shadow: none;
    background: transparent;
}

.premium-header.scrolled .nav-items li a:hover {
    color: #1a3a6e;
}

.premium-header.scrolled .nav-items li.active a {
    color: #1a3a6e;
    background: transparent;
    text-shadow: none;
}

/* ========== NAV LOGIN ITEM ========== */
.nav-login-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    box-shadow: none;
}

/* Touch / press feedback */
.nav-items li a:active,
.nav-login-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Entrance animations */
@keyframes navbarFloat {
    0% { opacity: 0; transform: translateY(-12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes navItemFade {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.nav-login-btn i {
    font-size: 16px;
}

.nav-login-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
    box-shadow: none;
    text-decoration: underline;
    text-decoration-color: #4f7bc2;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* SCROLLED STATE: Login button shadow adjustment for white background */
.premium-header.scrolled .nav-login-btn {
    background: transparent;
    color: #1a3a6e;
    border: none;
    box-shadow: none;
}

.premium-header.scrolled .nav-login-item {
    border-left-color: rgba(26, 58, 110, 0.2);
}

/* ========== PREMIUM LOGIN BUTTON ========== */
.premium-login-wrapper {
    flex-shrink: 0;
    position: relative;
}

.login-dropdown {
    position: relative;
}

.premium-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: #ffffff;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(30, 58, 138, 0.1);
}

.premium-login-btn i {
    font-size: 16px;
}

.premium-login-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(30, 58, 138, 0.15);
}

.login-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    min-width: 220px;
    padding: 12px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.login-dropdown:hover .login-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #2d2d2d !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item i {
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a1a !important;
    transform: translateX(4px);
}

.dropdown-item:hover i {
    opacity: 1;
}

/* ========== MOBILE MENU TOGGLE ========== */
.mobile-menu-toggle {
    display: none;
}

/* ========== MAIN WRAPPER SPACING ========== */
.main-wrapper {
    padding-top: 0;
    position: relative;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* ========== RESPONSIVE DESIGN ========== */
/* ========== SMOOTH SCROLL BEHAVIOR ========== */
html {
    scroll-behavior: smooth;
}
