body {
    font-family: Arial, sans-serif;
    text-align: right;
    direction: rtl;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.hero {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.hero img.background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.hero .header-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-align: right;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.btn {
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    background-color: #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn.active {
    background-color: #ff6600;
    color: white;
}

.group {
    margin: 40px 10px;
}

.group-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.menu-item {
    background-color: #fff;
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.menu-item h3 {
    margin: 10px;
}

.menu-item p {
    margin: 0 10px 10px;
    color: #555;
}

.popup {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    position: relative;
    width: 80%;
    max-width: 600px;
}

.popup img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

.popup-details {
    flex: 1;
}

#closePopup {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    font-size: 24px;
}
