/* 
 * Fresh Navigation CSS - Daman Local Stays
 * Clean, working navigation styles
 */

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Navigation Container */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation Links */
.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 2rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    color: #333333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.nav-links a:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
}

/* Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333333;
}

/* User Profile */
.user-profile {
    position: relative;
    display: none;
}

.user-profile.show {
    display: flex;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border-radius: 25px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-trigger:hover {
    background: #e9ecef;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    z-index: 1100;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item.logout {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    .nav {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* 
 * Complete Mobile Navigation - Add to navigation.css
 * Professional mobile-first experience
 */

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1200;
    transition: left 0.3s ease;
    padding: 0;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav.show {
    left: 0;
}

/* Mobile Navigation Header */
.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Navigation Links */
.mobile-nav-content {
    padding: 20px 0;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: #f8f9fa;
    color: #667eea;
    padding-left: 32px;
}

.mobile-nav-links a i {
    width: 20px;
    color: #667eea;
}

/* Mobile Auth Section */
.mobile-auth {
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.mobile-auth .btn {
    width: 100%;
    margin-bottom: 12px;
    justify-content: center;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Mobile Menu Button */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333333;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Mobile Menu Animation */
.mobile-menu i {
    transition: transform 0.3s ease;
}

.mobile-menu.active i {
    transform: rotate(90deg);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    /* Optimize header for mobile */
    .header {
        padding: 0.5rem 0;
    }
    
    .nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .auth-section {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .mobile-nav {
        width: 100%;
        left: -100%;
    }
    
    .nav {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .mobile-nav-content {
        padding: 10px 0;
    }
}

/* Smooth scroll for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
}