* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    direction: rtl;
    text-align: right;
}

.navbar {
    background: linear-gradient(to right, #e67e22, #f39c12);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.cart-btn {
    position: relative;
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #F39C12;
    font-weight: bold;
    transition: all 0.3s;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero {
    background: linear-gradient(to right, #e67e22, #f39c12);
    color: white;
    
    padding: 90px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid #F39C12;
    background: white;
    color: #F39C12;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.category-btn.active,
.category-btn:hover {
    background: #F39C12;
    color: white;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.menu-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-body {
    padding: 20px;
}

.menu-item-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.menu-item-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.menu-item-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #F39C12;
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.size-btn {
    flex: 1;
    min-width: 70px;
    padding: 8px 12px;
    border: 2px solid #e67e22;
    background: white;
    color: #e67e22;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.size-btn.active {
    background: #e67e22;
    color: white;
}

.size-btn:hover {
    background: #e67e22;
    color: white;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #e67e22, #f39c12);
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.item-quantity-control {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.item-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #e67e22;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.item-qty-btn:hover {
    background: #d35400;
    transform: scale(1.05);
}

.item-qty-display {
    flex: 1;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 8px;
}

.item-delete-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.item-delete-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
}

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    flex: 1;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #F39C12;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
    color: #F39C12;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #25D366;
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background: #20BA5A;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #999;
}

.order-details {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F39C12;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: #dc3545;
    margin-right: 3px;
}

footer {
    background: linear-gradient(to right, #e67e22, #f39c12);
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.phone-list {
    list-style: none;
    padding: 0;
}

.phone-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.phone-list li i {
    margin-left: 10px;
    color: white;
}

.phone-list a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.phone-list a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: white;
    color: #e67e22;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}