/* --- الأساسيات والـ Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

body {
    background-color: #ffffff;
    color: #56676d;
    line-height: 1.7;
}

a {
    color: #d84156;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #c60035;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: #d84156;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #c60035;
    color: #ffffff;
}

/* --- الهيدر والقائمة العلوية --- */
header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #0a0a0a;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: #d84156;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: #0a0a0a;
    font-weight: 500;
}

/* --- الهيرو سكشن (البانر الرئيسي) --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 75vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- قسم قصة المطعم والعدادات --- */
.about-section {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: #343842;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.counters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.counter-item {
    border-bottom: 1px solid #ececec;
    padding-bottom: 15px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #d84156;
}

/* --- قسم المنيو المميز --- */
.menu-section {
    background: #f9f9f9;
    padding: 80px 0;
}

.menu-section h2 {
    text-align: center;
    color: #343842;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.menu-info {
    padding: 25px;
}

.menu-info h3 {
    color: #343842;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-price {
    color: #d84156;
    font-weight: 700;
}

/* --- الفوتر --- */
footer {
    background: #ebe6da;
    padding: 60px 0 20px 0;
    color: #343842;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 40px;
}

.footer-col h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #343842;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- التجاوب مع الشاشات المتنوعة (Responsive Design) --- */

/* تابلت وشاشات متوسطة (768px وأقل) */
@media (max-width: 768px) {
    .header-wrap {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-menu ul {
        gap: 15px;
    }

    .hero {
        height: 60vh; /* تقليل الارتفاع لتناسب الشاشة */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-section {
        grid-template-columns: 1fr; /* تحويل الجريد لعمود واحد */
        gap: 40px;
        padding: 50px 0;
    }

    .about-text h2, .menu-section h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
}

/@media (max-width: 768px) {
    .header-wrap {
        position: relative; /* عشان نعرف نثبت المنيو بالنسبة للهيدر */
        flex-direction: row; /* رجع اللوجو والزرار جنب بعض */
        justify-content: space-between;
        width: 100%;
    }

    /* زرار الهامبرجر - تأكد إن الـ Class بتاعه مظبوط في الـ HTML */
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: #0a0a0a;
    }

    /* المنيو المخفية في الموبايل */
    .nav-menu {
        position: absolute;
        top: 100%; /* تفتح مباشرة تحت الهيدر */
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 20px;
        display: none; /* مخفية افتراضياً */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* الكلاس اللي هيتضاف بالـ JS عشان يظهر المنيو */
    .nav-menu.active {
        display: block;
    }
}

    .hero h1 {
        font-size: 1.8rem;
    }

    .counters-grid {
        grid-template-columns: 1fr; /* العدادات تنزل تحت بعضها */
        gap: 20px;
    }
    
    .counter-item {
        text-align: center;
    }
/* --- تعديلات صفحة الـ Contact للشاشات الصغيرة --- */
@media (max-width: 768px) {
    
    /* 1. تحويل الجريد الرئيسي لعمود واحد وإلغاء الـ Inline Style */
    .menu-section > .container[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* 2. جعل العناوين متناسقة في المنتصف على الموبايل */
    .menu-section h2 {
        text-align: center !important;
        font-size: 1.8rem !important;
    }

    /* 3. تظبيط الخريطة عشان متخرجش برة الشاشة */
    .menu-section iframe {
        width: 100% !important;
        height: 250px !important; /* تقليل الارتفاع ليناسب الموبايل */
    }

    /* 4. تظبيط بيانات الاتصال في الموبايل */
    .menu-section ul {
        align-items: center;
        text-align: center;
    }
}