/* Add this at the top to ensure navbar is always white */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white !important; /* Force white background */
    backdrop-filter: none;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2d2d2d; /* Changed to dark gray */
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: none;
}

/* Remove the gradient background and fallback since we're using solid color */
@supports not (-webkit-background-clip: text) {
    .logo-text {
        color: white;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #2d2d2d; /* Changed to dark gray */
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FDC935;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FDC935;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Desktop Appointment Buttons */
.nav-appointment {
    display: flex;
    gap: 2px;
    align-items: center;
}

/* Mobile Right Section */
.mobile-right {
    display: none;
    align-items: center;
    gap: 8px;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(253, 201, 53, 0.1);
    border-color: rgba(253, 201, 53, 0.3);
}

.bar {
    width: 25px;
    height: 3px;
    background: #2d2d2d; /* Changed hamburger bars to dark gray */
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    /* Keep navbar padding same as desktop */
    .navbar {
        background: white !important;
        padding: 0.5rem 0;
        position: relative;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white !important;
        backdrop-filter: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s ease;
        z-index: 999;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    /* This is the missing class that shows the menu */
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        font-weight: 400;
        color: #2d2d2d !important;
    }
    
    .nav-appointment {
        display: none;
    }
    
    .mobile-right {
        display: flex !important;
        gap: 8px;
        position: relative;
        z-index: 1002;
    }
    
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1002;
        cursor: pointer;
    }
    
    /* Make logo same size as desktop */
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 24px;
        letter-spacing: 0.8px;
        font-weight: 400;
    }
    
    .nav-logo {
        gap: 12px;
    }
}

@media screen and (max-width: 480px) {
    /* Keep same sizes even on smaller screens */
    .logo-img {
        width: 50px; /* Keep desktop size */
        height: 50px; /* Keep desktop size */
    }
    
    .logo-text {
        font-size: 24px; /* Keep desktop size */
        letter-spacing: 0.8px;
        font-weight: 400;
    }
    
    .nav-logo {
        gap: 12px; /* Keep desktop gap */
    }
    
    .mobile-right {
        gap: 6px;
        flex-direction: column;
    }
    
    .nav-toggle {
        min-width: 32px;
        min-height: 32px;
        padding: 6px;
    }
    
    .bar {
        width: 18px;
        height: 2px;
    }
}

/* Ensure navbar background stays consistent */
.navbar {
    background: white; /* Ensure mobile navbar background matches desktop */
}