/**
 * navbar-professional.css
 * Complete professional navbar redesign
 * Focus: Clean structure, elegant typography, clear states
 */

/* ========================================
   HEADER CONTAINER - PROFESSIONAL
   ======================================== */

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* ========================================
   LOGO - PROFESSIONAL
   ======================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 44px;
    width: auto;
}

/* ========================================
   NAVIGATION - CLEAN & STRUCTURED
   ======================================== */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a,
.main-nav button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.75);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
}

/* Hover State - Professional */
.main-nav a:hover,
.main-nav button:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
}

/* Active State - Clear Indication */
.main-nav a.active {
    background: rgba(197, 160, 89, 0.12);
    color: var(--accent-color);
    font-weight: 700;
}

/* Focus State - Accessibility */
.main-nav a:focus,
.main-nav button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ========================================
   HEADER ICONS/ACTIONS - RIGHT ALIGNED
   ======================================== */

.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Cart Badge - Professional */
.cart-count {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 900px) {
    .header-container {
        padding: 0 24px;
        height: 64px;
    }

    .main-nav ul {
        gap: 0;
    }

    .main-nav a,
    .main-nav button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
        /* Mobile menu would go here */
    }

    .logo img {
        height: 38px;
    }
}

/* ========================================
   SCROLLED STATE ENHANCEMENT
   ======================================== */

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04);
}