/* ملف styles.css */
body {
    font-family: 'Cairo', sans-serif;
    background-color: #031A1A;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: #000000;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
	position: relative;
}

header .logo img {
    height: 100px;
	width: auto;
}
nav {
    position: absolute;
	right: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.search-bar {
    margin: 20px;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-bar button {
    padding: 10px 20px;
    background-color: #ff6f61;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filters {
    margin: 20px;
}

.filters button {
    padding: 10px 20px;
    margin: 5px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.dish-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* <-- أضف هذا السطر */
}
.dish-card:hover {
    transform: scale(1.03); /* تكبير البطاقة بنسبة 3% */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* مضاعفة الظل */
    cursor: pointer; /* تغيير شكل المؤشر */
}
.dish-card img {
    width: 100%;
    height: 180px; /* <-- 1. أضف ارتفاع ثابت (يمكنك اختيار 200px أو 150px حسب رغبتك) */
    object-fit: cover; /* <-- 2. هذا هو السطر السحري: يمنع تمدد أو انضغاط الصورة */
    border-radius: 10px;
}
}

.dish-card h3 {
    margin: 10px 0;
}

/* تنسيق الفئة (مثل "المقبلات") */
.dish-card .category {
    font-size: 14px;
    color: #999; /* لون رمادي أفتح */
    margin-bottom: 10px;
}

/* تنسيق السعر */
.dish-card .price {
    font-weight: bold;
    color: #ff6f61; /* لون السعر المميز */
    font-size: 16px;
    margin-top: 15px; /* إضافة مسافة فوق السعر */
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 40px;
}
/* --- بدء كود التصميم المتجاوب (Responsive Design) --- */

@media (max-width: 768px) {
    /* هذه التنسيقات تطبق فقط إذا كانت الشاشة 768px أو أقل */

    /* 1. تعديل الهيدر (الرأس) */
    header {
        flex-direction: column; /* نجعل اللوجو والقائمة واحد فوق الآخر */
        padding: 15px;
    }

    nav {
        position: static; /* نلغي تثبيته في اليمين */
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center; /* توسيط القائمة */
    }

    /* 2. تعديل شريط البحث */
    .search-bar input {
        width: 80%; /* نجعل عرضه 80% من الشاشة بدلاً من 300px */
    }

    /* 3. تعديل بطاقات الأطباق */
    .menu {
        padding: 10px; /* تقليل الحشو الجانبي */
    }

    .dish-card {
        width: 90%; /* نجعل البطاقة تأخذ 90% من عرض الشاشة (لتظهر واحدة في كل سطر) */
        margin: 10px 0; /* هامش علوي وسفلي فقط */
    }

    /* 4. تعديل أزرار الفلترة */
    .filters {
        /* نسمح للأزرار بالالتفاف لأسفل إذا لم تكن هناك مساحة كافية */
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* --- نهاية كود التصميم المتجاوب --- */
/* --- بدء تنسيقات قسم اتصل بنا والتذييل --- */

/* تنسيق قسم "اتصل بنا" الرئيسي */
#contact {
    padding: 100px 20px;
    text-align: center;
    background-color: #f9f9f9;
    min-height: 50vh;
}

/* حاوية روابط التواصل */
.contact-links {
    margin-top: 20px;
}

/* تنسيق موحد لجميع روابط التواصل */
.contact-links a {
    margin: 0 10px;
    text-decoration: none; /* إخفاء الخط تحت الرابط */
    font-weight: bold;
}

/* تخصيص لون كل رابط */
.contact-whatsapp { color: #25D366; }
.contact-instagram { color: #C13584; }
.contact-tiktok { color: #303030; }
.contact-facebook { color: #1877f2; }


/* تنسيق رابط البريد الإلكتروني في التذييل */
.footer-email {
    margin: 0 10px;
    color: #2244FF;
    text-decoration: none;
}

/* --- نهاية التنسيقات --- */