/* Navbar Styles */
.navbar {
    background-color: var(--black);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

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

.navbar-logo:hover {
    opacity: 0.8;
}

.navbar-logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.navbar-logo-text {
    font-family: 'Funnel Display', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--yellow);
    transition: color 0.3s ease;
}

.navbar-logo:hover .navbar-logo-text {
    color: var(--white);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-item--highlight {
    margin-left: 0;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}

.navbar-link:hover {
    color: var(--yellow);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-link i {
    margin-right: 0.5rem;
}

.navbar-link--icon-only i {
    margin-right: 0;
}

.navbar-link--icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Bestellen Button Styling */
.navbar-link--button {
    background-color: var(--yellow);
    color: var(--black);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-link--button::after {
    display: none;
}

.navbar-link--button:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .navbar-logo {
        gap: 0.5rem;
    }
    
    .navbar-logo-img {
        height: 50px;
        width: 50px;
    }
    
    .navbar-logo-text {
        font-size: 1.5rem;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--black);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .navbar-menu.active {
        max-height: 600px;
        padding: 1rem 0;
        overflow-y: auto;
    }
    
    .navbar-item {
        width: 100%;
    }
    
    .navbar-link {
        display: block;
        padding: 1rem 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-item--highlight {
        margin-left: 0;
        width: 100%;
    }
    
    .navbar-link--button {
        text-align: center;
        margin: 0.5rem 20px;
        border: 2px solid var(--yellow);
    }
    
    .navbar-link::after {
        display: none;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Disable background scroll when mobile menu is open */
    html.mobile-menu-open,
    body.mobile-menu-open {
        overflow: hidden !important;
        touch-action: none;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        gap: 0.5rem;
    }
    
    .navbar-logo-img {
        height: 40px;
        width: 40px;
    }
    
    .navbar-logo-text {
        font-size: 1.25rem;
    }
}
