:root {
    --primary-color: #d4af37;
    /* Gold */
    --bg-dark: #121212;
    --bg-card: rgba(30, 30, 30, 0.6);
    --text-light: #ffffff;
    --text-dim: #b0b0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Animation */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, #2a2a2a 0%, #121212 100%);
    z-index: -1;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    animation: rotateBg 60s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header */
.glass-header {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 1rem 0 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-area h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.logo-area p {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Search */
.search-container {
    position: relative;
    margin-bottom: 1rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

#search-input {
    width: 100%;
    padding: 12px 12px 12px 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Category Nav */
.category-nav {
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

#category-list {
    display: flex;
    gap: 0.8rem;
    list-style: none;
}

.category-item {
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Menu Grid */
main {
    padding: 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Menu Card */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
    background: rgba(40, 40, 40, 0.7);
}

.menu-card:hover::before {
    opacity: 1;
}

.item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.item-info .item-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    min-width: 80px;
}

.item-unit {
    font-size: 0.7rem;
    color: var(--text-dim);
    display: block;
    font-weight: 400;
}

/* RTL Support */
body.rtl {
    direction: rtl;
}

body.rtl .search-icon {
    left: auto;
    right: 1rem;
}

body.rtl #search-input {
    padding: 12px 2.5rem 12px 12px;
}

body.rtl .menu-card::before {
    left: auto;
    right: 0;
}

body.rtl .item-price {
    text-align: left;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .logo-area h1 {
        font-size: 1.5rem;
    }
}/* Footer Updates */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.logo-area {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

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