/* ============================================================
   MENU BAR
   ============================================================ */
.menu-bar {
    background: var(--white);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 999;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.menu-bar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--pink);
    padding: 4px 0;
    min-height: 52px;
}

.menu-bar.sticky .logo-img {
    height: 36px;
}

.menu-bar.sticky .logo-text {
    font-size: 1rem;
}

.menu-bar.sticky .nav-links {
    gap: 20px;
    font-size: 0.95rem;
}

.menu-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--black);
    white-space: nowrap;
    transition: font-size 0.2s;
}

.logo-text span {
    color: var(--pink);
}

.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--pink);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.2s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--black);
    cursor: pointer;
    padding: 4px 8px;
    transition: color var(--transition);
}

.nav-toggle:hover {
    color: var(--pink);
}

.nav-toggle:focus {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================================
   RESPONSIVE - MENU BAR
   ============================================================ */
@media (max-width: 820px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 6px; /* Reduced from 14px for tighter spacing */
        padding: 10px 0 6px; /* Reduced padding from 18px to 10px */
        border-top: 1px solid rgba(0, 0, 0, 0.06); /* Faint underline */
        margin-top: 10px; /* Reduced from 12px */
        align-items: flex-start; /* Left align items */
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .menu-bar .container {
        flex-wrap: wrap;
    }
    
    .logo-area {
        flex: 1;
    }
    
    /* Style links for mobile */
    .nav-links a {
        padding: 6px 0; /* Tighter padding */
        font-size: 0.95rem;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04); /* Faint underline between items */
        transition: all var(--transition);
    }
    
    /* Remove the last item's border */
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* Keep the pink hover underline but make it subtle */
    .nav-links a::after {
        display: none; /* Hide the default hover effect on mobile */
    }
    
    /* Use a different hover effect for mobile */
    .nav-links a:hover {
        color: var(--pink);
        padding-left: 4px; /* Slight indent on hover */
    }
}

@media (max-width: 480px) {
    .menu-bar {
        min-height: 50px;
        padding: 6px 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-links {
        gap: 4px; /* Even tighter on small screens */
        padding: 8px 0 4px;
        margin-top: 8px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 5px 0;
    }
}