:root {
    --header-bg: #FFFFFF /* Deep Charcoal Black */
    --text-color: black; /* Off-white for menus */
    --accent-color: black; /* Vibrant Blue */
    --hover-text-color: black; /* White on hover */
    --font-inter: 'Inter', sans-serif;
}

/* Base styles for the new header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.company-logo img {
    height: 80px;
    padding: 0px;
    width: 80px;
    object-fit: cover;
    display:block;
}

/* 3D Hover Effect on Menu Items */
.nav-link {
    font-family: var(--font-inter);
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    display: inline-block;
    transition: transform 0.3s ease;
}
.nav-link:hover {
    transform: translateY(-3px);
    color: var(--hover-text-color);
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}
.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

/* Dropdown for Destinations */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f1f1f1;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); */
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}
.dropdown:hover .dropdown-menu {
    display: block;
    transform: translateY(0);
    opacity: 1;
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.dropdown-menu a:hover {
    background-color: #215384;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-name {
    font-weight: 600;
    color: var(--accent-color);
}
.btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
    background-color: white;
    color: var(--hover-text-color);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 169, 255, 0.4);
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid #145980;
    color: var(--accent-color);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: lightseagreen;
    color: var(--hover-text-color);
}

/* Mobile Menu Icon */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: transform 0.2s ease;
}
.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: transform 0.3s ease, top 0.3s ease;
}
.menu-icon::before { top: -10px; }
.menu-icon::after { top: 10px; }

/* Mobile Nav Container */
.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none; /* Hide by default */
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
}
body.mobile-nav-open .mobile-nav-container {
    display: block;
    transform: translateX(0);
}

.mobile-nav-content {
    height: 100%;
    width: 80%; /* Adjust width of the side menu */
    background-color: #2c2c2c;
    padding: 30px;
    overflow-y: auto;
}
.mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}
.mobile-logo-container { margin-bottom: 15px; }
.mobile-logo { height: 80px; }
.mobile-user-name { font-size: 1.2rem; color: var(--accent-color); font-weight: 600; }
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mobile-nav-link {
    color: var(--text-color);
    font-size: 1.1rem;
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}
.mobile-nav-link:hover {
    background-color: #444;
}
.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin-top: 10px;
    margin-left: 15px;
}
.mobile-dropdown-menu li { margin-bottom: 5px; }
.mobile-sub-link {
    color: #ddd;
    font-size: 1rem;
    padding: 8px 10px;
    display: block;
    transition: color 0.2s ease;
}
.mobile-sub-link:hover {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .main-nav, .auth-buttons {
        display: none;
    }
    .main-header {
        padding: 10px 20px;
        justify-content: space-between;
    }
    .company-logo { position: static; }
    .mobile-menu-toggle {
        display: none;
    }
    .header-left {
        display: flex;
        justify-content: center;
        flex-grow: 1;
    }
}
body.mobile-nav-open .main-header {
    transform: translateX(80%); /* Push header to the right */
}