.top-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                backdrop-filter 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                top 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                border 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: transparent;
    backdrop-filter: none;
    border-radius: 32px;
    border: 1px solid transparent;
}

.top-nav.scrolled {
    background: rgba(124, 124, 124, 0.075);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 2rem;
    width: 90%;
    max-width: 1200px;
    top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: none;
    z-index: 1001;
}

.nav-left img {
    width: 120px;
    height: auto;
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.top-nav.scrolled .nav-left img {
    width: 100px;
}

.nav-center {
    display: flex;
    gap: 0.5rem;
    transition: none;
}

.nav-tab {
    color: rgba(229, 229, 229, 0.6);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(40, 40, 40, 0.4);
    min-width: 120px;
    text-align: center;
}

.nav-tab:hover {
    color: #ffffff;
    background: #9d5a3f;
}

.nav-tab.active {
    color: #ffffff;
    background: #9d5a3f;
    border: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: none;
}

.contact-link {
    color: #9d5a3f;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: 2px solid #9d5a3f;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #9d5a3f;
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    background: rgba(40, 40, 40, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(157, 90, 63, 0.3);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #e5e5e5;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Tablet Responsive (max-width: 1024px) */
@media (max-width: 1024px) {
    .top-nav {
        padding: 1.5rem 1.5rem;
    }
    
    .top-nav.scrolled {
        width: 95%;
        padding: 0.75rem 1.5rem;
        top: 0.75rem;
    }
    
    .nav-left img {
        width: 100px;
    }
    
    .top-nav.scrolled .nav-left img {
        width: 85px;
    }
    
    .nav-tab {
        min-width: 100px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
    .top-nav {
        padding: 1rem 1rem;
    }
    
    .top-nav.scrolled {
        width: 95%;
        padding: 0.75rem 1rem;
        top: 0.5rem;
    }
    
    .nav-left img {
        width: 90px;
    }
    
    .top-nav.scrolled .nav-left img {
        width: 75px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 6rem 2rem 2rem 2rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-center.active {
        right: 0;
    }
    
    .nav-tab {
        width: 100%;
        min-width: auto;
        padding: 1rem;
        font-size: 1.1rem;
        background: rgba(40, 40, 40, 0.6);
    }
    
    .nav-right {
        position: fixed;
        bottom: auto;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-end;
        gap: 1rem;
        padding: 2rem;
        padding-bottom: 3rem;
        pointer-events: none;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-right.active {
        right: 0;
    }
    
    .contact-link {
        width: 100%;
        text-align: center;
        padding: 1.25rem;
        font-size: 1rem;
        pointer-events: auto;
        background: rgba(157, 90, 63, 0.1);
        box-shadow: 0 4px 12px rgba(157, 90, 63, 0.2);
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .top-nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-left img {
        width: 80px;
    }
    
    .top-nav.scrolled .nav-left img {
        width: 70px;
    }
    
    .nav-center {
        width: 85%;
        padding-top: 5rem;
    }
    
    .nav-right {
        width: 85%;
        padding-bottom: 2rem;
    }
}
