/* Professional Header Design - Travel Landing Page */

/* Override conflicting styles from style.css */
.top-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    animation: none !important;
    backdrop-filter: none !important;
}

/* Contact Information */
.header-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.header-contact-info ul li {
    display: inline-block;
    margin-right: 25px;
    font-size: 13px;
    color: white;
}

.header-contact-info ul li a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.header-contact-info ul li a i {
    font-size: 12px;
    opacity: 0.9;
}

.header-contact-info ul li a:hover {
    color: #ffc107;
    transform: translateX(2px);
}

/* Social Media Links */
.header-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-social ul li a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-social ul li a:hover {
    background: white;
    color: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Main Navigation Bar */
.main-navigation {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
}

.navbar {
    padding: 12px 0 !important;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.navbar-nav {
    gap: 5px;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 3px 10px rgba(118, 75, 162, 0.2);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid #764ba2;
    padding: 4px 8px;
    border-radius: 5px;
    background: white;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
    outline: none;
}

.navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23764ba2' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 100%;
}

/* Mobile Responsive Design */
@media (max-width: 991px) {
    /* Hide top bar on tablets and mobile */
    .top-header {
        display: none;
    }
    
    .main-navigation {
        padding: 8px 0;
        background: white;
    }
    
    .navbar {
        padding: 8px 0;
        position: relative;
    }
    
    /* Logo centered on mobile */
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 8px;
    }
    
    .navbar-brand img {
        height: 38px;
    }
    
    /* Toggle button positioning */
    .navbar-toggler {
        position: relative;
        z-index: 10;
        margin-left: 0;
    }
    
    /* Mobile menu container */
    .navbar-collapse {
        margin-top: 50px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 15px;
        border: 1px solid #f0f0f0;
    }
    
    .navbar-nav {
        gap: 8px;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 12px 20px !important;
        margin: 3px 0;
        border-radius: 8px;
        background: #f8f9fa;
        color: #2c3e50 !important;
        font-size: 14px;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white !important;
        transform: none;
        box-shadow: 0 3px 10px rgba(118, 75, 162, 0.2);
    }
}

/* Small Mobile Devices */
@media (max-width: 575px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-collapse {
        margin-top: 45px;
        padding: 12px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 13px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Active link highlight for scroll */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

/* Fix Bootstrap conflicts */
.navbar-light .navbar-toggler {
    border-color: #764ba2;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 18px !important;
    padding-left: 18px !important;
}

/* Animation on scroll */
.main-navigation.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 5px 0;
}

.main-navigation.scrolled .navbar {
    padding: 8px 0;
}

.main-navigation.scrolled .navbar-brand img {
    height: 40px;
}

/* Override all conflicting styles from style.css */
.navbar li a::before,
.navbar li a::after {
    display: none !important;
}

.header-contact-info ul li::after {
    display: none !important;
}

/* Ensure proper mobile alignment */
@media (max-width: 991px) {
    .navbar-brand.mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .navbar-toggler {
        border: 2px solid #764ba2 !important;
        background: white !important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23764ba2' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}