/* Modern Professional Navbar for Vacation Chalo */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modern Navbar */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #E8F5E8 0%, #FFFFFF 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    height: 100%;
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand-section:hover {
    transform: scale(1.02);
    text-decoration: none;
    color: inherit;
}

.logo-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.3s ease;
    padding-top: 4px;
    flex-shrink: 0;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.brand-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-right: 40px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35;
    letter-spacing: -0.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, #FF6B35, #E91E63, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Phone Number */
.mobile-phone-number {
    display: none;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
    background: #22c55e;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
    flex-shrink: 0;
}

.mobile-phone-number i {
    font-size: 1rem;
    color: white;
}

.mobile-phone-number:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
    color: white;
}

.mobile-phone-number:hover i {
    color: white;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #E91E63;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #C2185B;
    background-color: rgba(233, 30, 99, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #C2185B;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #00BCD4;
    border-radius: 1px;
}

/* CTA Button */
.cta-section {
    flex-shrink: 0;
}

.cta-button {
    background: rgba(0, 123, 255, 0.9);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    margin-left: 10px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    white-space: nowrap;
    display: inline-block;
}

.cta-button:hover {
    background: rgba(0, 123, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    color: white;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    gap: 4px;
}

.hamburger .bar {
    width: 24px;
    height: 3px;
    background: #E91E63;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
}

/* Responsive Design */

/* Tablet (768px) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .brand-section {
        align-items: center;
        gap: 10px;
    }
    
    .brand-content {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding-top: 0;
    }
    
    .brand-text {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .mobile-phone-number {
        display: flex;
        font-size: 0.75rem;
        padding: 5px 10px;
        gap: 5px;
        margin-top: 0;
    }
    
    .mobile-phone-number i {
        font-size: 0.9rem;
    }
    
    .logo-container {
        width: 50px;
        height: 50px;
        padding-top: 2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 16px 20px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background-color: rgba(233, 30, 99, 0.15);
        color: #C2185B;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        margin-top: 8px;
    }
    
    .hamburger {
        display: flex;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .brand-section {
        gap: 8px;
    }
    
    .brand-content {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding-top: 0;
    }
    
    .brand-text {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .mobile-phone-number {
        display: flex;
        font-size: 0.7rem;
        padding: 4px 9px;
        gap: 4px;
        margin-top: 0;
    }
    
    .mobile-phone-number i {
        font-size: 0.85rem;
    }
    
    .logo-container {
        width: 45px;
        height: 45px;
        padding-top: 1px;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
    .brand-section {
        gap: 6px;
    }
    
    .brand-content {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding-top: 0;
    }
    
    .brand-text {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .mobile-phone-number {
        display: flex;
        font-size: 0.65rem;
        padding: 4px 8px;
        gap: 4px;
        margin-top: 0;
    }
    
    .mobile-phone-number i {
        font-size: 0.8rem;
    }
    
    .mobile-phone-number span {
        display: inline;
    }
    
    .logo-container {
        width: 42px;
        height: 42px;
        padding-top: 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-badge {
        box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
    }
    
    .cta-button {
        box-shadow: 0 1px 4px rgba(0, 123, 255, 0.3);
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.cta-button:focus,
.hamburger:focus {
    outline: 2px solid rgba(0, 123, 255, 0.9);
    outline-offset: 2px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 80px;
}

/* Animation for page load */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-navbar {
    animation: fadeInDown 0.6s ease-out;
}

/* Mobile: Hide contact button, show hamburger */
@media (max-width: 768px) {
    .cta-section {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
}