:root {
    --primary: #e67e22;
    --dark: #2c3e50;
    --light-bg: #fdfdfd;
    --white: #ffffff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/photo-1504674900247-0877df9cc836.jpg');
    /* background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=2070'); */
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 20px;
}

header h1 {
    font-size: 3rem;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Filters */
.filter-section {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.main-filters, .sub-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    overflow-x: auto;
    padding: 5px 10px;
}

.filter-btn {
    padding: 8px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.sub-filters {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.sub-btn {
    padding: 5px 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #666;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
}

.sub-btn.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

/* Menu Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px 0;
}

.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    cursor: pointer;
    max-height: 100%;
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-card img {
    width: 100%;
    height: 60%;
    object-fit: fill;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.card-price {
    display: block;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    margin: 5vh auto;
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 25px;
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-content img {
    width: 100%;
    height: 250px;
    object-fit: fill;
}

.modal-info {
    padding: 25px;
    text-align: right;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 900;
    margin: 10px 0;
}

.desc-section h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.desc-section p {
    color: #666;
    line-height: 1.7;
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 40px;
    margin-top: 50px;
}