
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
}

body {
    background-color: white;
    color: rgb(99, 3, 48);
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: black;
    box-shadow: var(--shadow);
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: 1s;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo h1 {
    color: rgb(99, 3, 48);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.logo p {
    color: rgb(99, 3, 48);
    font-style: italic;
}

.menu-categories {
    list-style: none;
    margin-top: 2rem;
}

.menu-categories li {
    margin-bottom: 0.5rem;
}

.category-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: left;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    color:rgb(99, 3, 48);
    font-size: 1rem;
    cursor: pointer;
    transition: 1s;
}

.category-btn:hover {
    background-color: var(--secondary);
    transform: translateX(5px);
}

.category-btn.active {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.category-btn i {
    margin-right: 10px;
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    width: calc(100% - 2rem);
    text-align: center;
    font-size: 0.9rem;
    color: rgb(99, 3, 48);
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgb(99, 3, 48);
}

.gallery-header h2 {
    color: rgb(99, 3, 48);
    font-size: 1.8rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: rgb(99, 3, 48);
}

.search-bar input {
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
    width: 200px;
}

.search-bar button {
    background: none;
    border: none;
    color: rgb(99, 3, 48);
    cursor: pointer;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    animation: 1s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.item-image {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: white;
    padding: .5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
}

.item-info {
    padding: 1.5rem;
}

.item-info h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-info p {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.order-btn:hover {
    background-color: var(--accent);
}

.item-rating {
    color: goldenrod;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 200;
    background-color: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar {
        margin-top: 1rem;
        width: 100%;
    }

    .search-bar input {
        width: 100%;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text);
    display: none;
}

.empty-state i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}