/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Background */
body {
    background-color: #fdfaf6;
    color: #4a4a4a;
    line-height: 1.7;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

/* Header Styling */
header {
    background: linear-gradient(to right, #e67e22, #d35400);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-bottom: 5px solid #c0392b;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header p {
    font-size: 1.3rem;
    margin: 5px 0;
    font-weight: 400;
}

/* Menu Section */
.menu {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.menu h2 {
    font-size: 3rem;
    color: #d35400;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.menu h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #d35400;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Category Styling */
.category {
    margin-bottom: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Category Header */
.category h3 {
    font-size: 2.2rem;
    color: #e67e22;
    text-align: left;
    margin-bottom: 30px;
    font-weight: 700;
    border-bottom: 3px solid #e67e22;
    padding-bottom: 15px;
}

/* List Styling */
.category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.category ul li:last-child {
    border-bottom: none;
}

/* Hover Effect for List Items */
.category ul li:hover {
    background-color: #fdfaf6;
}

/* Item and Price Styling */
.item {
    flex-grow: 1;
    font-weight: 500;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #c0392b;
    text-align: right;
    min-width: 100px;
}

/* Footer for Contact Info */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #343a40;
    color: #f8f9fa;
}

footer p {
    font-size: 1rem;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.8rem;
    }

    .menu {
        padding: 0 15px;
    }

    .category h3 {
        font-size: 1.8rem;
    }

    .category ul li {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .price {
        margin-top: 8px;
        font-size: 1.1rem;
        align-self: flex-end;
    }
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.lang-switcher button {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
    margin-left: 5px;
    border-radius: 5px;
}

.lang-switcher button.active,
.lang-switcher button:hover {
    background-color: #fff;
    color: #d35400;
}

/* RTL Adjustments */
[dir="rtl"] .category h3 {
    text-align: right;
}

[dir="rtl"] .lang-switcher button {
    margin-left: 0;
    margin-right: 5px;
}

/* Error message styling */
.error-message {
    display: none;
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    border-left: 4px solid #c62828;
}