@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/DroidKufi-Regular.eot);
  src: url(../fonts/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
       url(../fonts/DroidKufi-Regular.woff2) format('woff2'),
       url(../fonts/DroidKufi-Regular.woff) format('woff'),
       url(../fonts/DroidKufi-Regular.ttf) format('truetype');
}

/* إعدادات عامة */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #c7560a;
    color: #333;max-width:1280px;margin: 0 auto;padding: 0 auto;
}

html {
    background-color: #ddd;
    scroll-behavior: smooth;
}


/* الشريط العلوي */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #c7560a;
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
}

.menu-icon, .language-icon {
    cursor: pointer;
}

.logo {
    font-weight: bold;
}

/* القائمة المنبثقة */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background-color: #c7560a;
    transition: right 0.3s ease;
    color: white;
    padding: 20px;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    margin: 15px 0;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.menu .close {
    font-size: 2rem;
    cursor: pointer;
    display: block;
    text-align: left;
}

/* شريط البحث */
.search-bar {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #f7f7f7;
}

.search-bar input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
   
}

.search-bar button {
    background-color: #c7560a;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
 
/* قائمة الطعام */
.food-category {
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.food-category h2 {
    font-family: 'Droid Arabic Kufi';
    text-align: center;
    margin-bottom: 15px;
    color: #c7560a;
    font-size: 18px;
	
}

.food-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.food-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.food-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.food-title {
    background-color: #c7560a;
    color: white;
    padding: 13px 0px;
	margin-top:-4px;
	margin-bottom:-4px;
    font-size: 1rem;
}

.food-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 1rem;
}

.price {
    color: #333;
}

.cart-icon {
    background: none;
    border: none;
    color: #c7560a;
    font-size: 1.5rem;
    cursor: pointer;
}


.food-list {
    display: grid;
    gap: 1rem; /* المسافة بين العناصر */
    grid-template-columns: repeat(2, 1fr); /* افتراضي: وجبتان بجانب بعض */
}

@media (min-width: 768px) {
    .food-list {
        grid-template-columns: repeat(4, 1fr); /* أربع وجبات بجانب بعض على الشاشات الكبيرة */
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0; /* أضف هذه الخاصية لضمان أن الفوتر يبدأ من اليسار */
    width: 100%; /* اجعل العرض 100% دائماً */
    display: flex;
    background-color: #c7560a;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 15px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* تأكد من ظهور الفوتر فوق المحتويات الأخرى */
}
@media screen and (max-width: 768px) {
    .footer {
        padding: 10px 5px; /* تقليل الهوامش للفوتر */
        font-size: 14px; /* تصغير النص */
    }
}


.footer-item {
    color: white;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px; /* مسافة بين الأيقونة والنص */
}

.footer-item i {
    font-size: 24px;
}

.footer-item span {
    font-size: 14px;
}

.send-to-kitchen {
    background-color: white;
    color: #c7560a;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 14px;
}

.notification {
    position: fixed;
    right: 20px;
    bottom: 50px;
    background-color: #f39c12;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.notification i {
    font-size: 24px;
}

/* للزر الاهتزاز */
@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

.shake {
    animation: shake 0.2s infinite;
}



.categories-slider {
    display: flex;
    gap: 15px;
    padding: 10px;
    background-color: #f8f8f8;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 2px solid #ddd;
}

.category {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.category a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category i {
    font-size: 35px;
    color: #c7560a;
    margin-bottom: 0px;
}

.category span {
    font-size: 14px;
}

.category:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

		 /* Style for icon container */
		/* أجهزة الكمبيوتر */
		@media screen and (min-width: 769px) {
			.swal2-popup-menu {
				max-width: 33.333%; /* العرض يصبح ثلث الصفحة */
			}
		}

		/* الأجهزة المحمولة والتابلت */
		@media screen and (max-width: 768px) {
			.swal2-popup-menu {
				max-width: 100%; /* العرض يغطي الشاشة بالكامل */
			}
		}

        .swal-icon-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 20px;
        }

		/* Style for individual icon */
        .swal-icon {
            text-align: center;
            cursor: pointer;
        }

		.swal-icon i{
            font-size: 24px;
        }

        .swal-icon a{
            text-decoration:none;
			color:#444;
        }

        /* Style for icon label */
        .swal-icon-label {
            font-size: 14px;
        }

		/* Style for border around icons */
        .swal-icon-border {
            border: 1px solid #eee;
            padding: 10px;
            border-radius: 10px;
        }

		/* Style for Swal.fire container */
		.swal2-popup-menu {
			width: 100%;
			height: 100%; /* ارتفاع يعادل 100% من ارتفاع الشاشة */
			padding: 10px;
			margin: 0 auto;
			box-sizing: border-box;
		}


		/* Style for Swal.fire close button */
        .swal2-close {
            top: 20px !important;
            right: 50% !important;
            transform: translateX(50%) !important;
				font-size:26px !important;
        }

		.col-6{
			justify-content: flex-start;
		}
		
		
		/* اظهار عداد بدلاً من الجرس */
		.countdown-timer {
			font-size: 16px;
			font-weight: bold;
			color: #444;
			text-align: center;
			margin-top: 5px;
		}


.ulflags {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;  
        justify-content: space-between; 
    }

     .ulflags li {
        width:50%;
		font-size:14px;
        text-align: left;
        margin-bottom: 14px;  
		cursor: pointer;
    }
	
	
     .ulflags li img {
        margin-bottom: -9px;  
		}
	
	  .ulflags li .flag-icon {
        width: 30px !important;  
        height: 30px !important;  
        border-radius: 50% !important;    
    }
	
/* تصميم النافذة الخاصة باللغة  */
.swal2-title{
	font-family:'Droid Arabic Kufi';
	font-size:16px !important;
	 font-weight: 500;
}

/* تصميم النافذة لتفاصيل الوجبة  */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* زيادة شفافية الخلفية */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out; /* تحسين الانتقالات */
}

.popup.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup-content {
    background: #ffffff; /* لون خلفية النافذة */
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* إضافة ظل ناعم */
    animation: popup-show 0.4s ease-out; /* حركة النافذة عند ظهورها */
}

@keyframes popup-show {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease-in-out;
}

.popup-close:hover {
    color: #c7560a; /* لون متناسق مع الهوية */
}

.popup-cart-btn {
    background: #c7560a;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;
    transition: background-color 0.3s ease-in-out;
}

.popup-cart-btn:hover {
    background: #a64507; /* لون أغمق عند التمرير */
}

.popup-cancel-btn {
    background: #9b3d06; /* لون متناسق مع الزر الأساسي */
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;
    transition: background-color 0.3s ease-in-out;
}

.popup-cancel-btn:hover {
    background: #7d3105; /* لون أغمق عند التمرير */
}

.popup h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.popup p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}


	.rtl{
			direction: rtl !important;
			text-align:right;
	}

	.ltr{
			text-align:left;
			direction: ltr !important;
	}
	
	
	