/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Cinzel', serif;
    background:#ffffff;
}


@font-face {
    font-family: teste ;
    src: url(fonts/Modern\ Prestige\ DEMO.otf);
}



/* ================= HEADER ================= */
header{
    width:100%;
    background:rgb(102,53,53);
    text-align:center;
    padding-top:20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
    position:relative;
    z-index:1000;
}

/* ================= LOGO (ZONE 01) ================= */
.logo img{
    width:100px;
    margin-bottom:25px;
}

/* ================= MENU BUTTON ================= */
.menu-toggle{
    display:none;
    position:fixed;
    top:15px;
    right:20px;
    width:55px;
    height:55px;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:#fff;
    background:linear-gradient(145deg, #a8e8ba, #76c993);
    border:none;
    border-radius:50%;
    cursor:pointer;
    box-shadow:0 6px 15px rgba(0,0,0,0.25);
    transition:0.3s;
    z-index:2000;
}

.menu-toggle:hover{
    transform:scale(1.08);
}

.menu-toggle:active{
    transform:scale(0.95);
}

/* ================= MAIN NAVBAR (ZONE 02) ================= */
.main-navbar{
    width:100%;
    display:flex;
    justify-content:center;
    
}

.main-menu{
    width:100%;
    list-style:none;
    display:flex;
    gap:3px;
    
}

.main-menu li{
    flex:1;
    background:linear-gradient(to bottom, #a8e8ba, #76c993);
    padding:10px 0;
    text-align:center;
    transition:0.3s;
    
    
}

.main-menu li:hover{
    background:linear-gradient(to bottom, #bdf2ca, #89d7a4);
    
}

.main-menu li a{
    text-decoration:none;
    color:rgb(102,53,53);
    font-size:21px;
    font-weight:bold;
    letter-spacing:1px;
    text-align: center;      /* توسيط النص أفقيًا */
}

.esp { 

margin-left: -35px;

}

.espr { 

margin-right: -34px;

}









/* ================= HERO TITLE (ZONE 03) ================= */
.hero-title h2{
    font-family:'teste', cursive;
    font-size:110px;
    font-weight:400;
    color:#7fd89a;
    margin:0;
    letter-spacing:4px;
    margin-right: 70px;
    background-image: url("");
}

/* ================= SUB NAVBAR ================= */
/* ================= SUB NAVBAR STICKY ================= */
/* يبقى في أعلى الصفحة عند الوصول إليه أثناء التمرير */
.sub-navbar{
    display:flex;
    justify-content:center;
    margin-top:0;

    position:sticky;   /* يصبح ثابتاً عند الوصول إليه */
    top:0;             /* يلتصق بأعلى نافذة المتصفح */
    z-index:999;       /* يبقى فوق المحتوى */
}

.sub-menu{
    width:95%;
    list-style:none;
    display:flex;
    gap:4px;
    background:rgb(102,53,53);  /* يجعل الفراغات (gap) باللون البني */
    padding:0;                  /* بدون حواف إضافية */
}

.sub-menu li{
    flex:1;
    background:#e7efe7;
    padding:14px 5px;
    transition:0.3s;
}

.sub-menu li:hover{
    background:#cfe6d4;
}

.sub-menu li a {
    display: block;              /* يجعل الرابط يأخذ عرض العنصر بالكامل */
    width: 100%;                 /* عرض كامل داخل li */
    text-decoration: none;
    color: rgb(102, 53, 53);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;          /* توسيط النص داخل الرابط */
}

/* ================= MOBILE ================= */
@media (max-width:768px){

    /* زر القائمة يظهر */
    .menu-toggle{
        display:flex;
    }

    /* Zone 02 تختفي في الهاتف */
    .main-navbar{
        display:none;
    }

    /* العنوان يبقى ظاهر */
    .hero-title h2{
        font-size:70px;
        margin-right: 25px;
        
    }

    /* Zone 03 تتحول إلى قائمة جانبية */
    .sub-navbar{
        display:none;
        position:fixed;
        top:80px;
        right:10px;
        width:270px;
        background: #76c993;

        border-radius:12px;
        overflow:hidden;
        box-shadow:0 10px 25px rgba(0,0,0,0.25);
        z-index:1500;
    }



    /* تظهر عند الضغط */
    .sub-navbar.active{
        display:flex;
    }

    .sub-menu{
        width:100%;
        flex-direction:column;
        gap:0;
    }

    .sub-menu li{
        width:100%;
        background:none;
        padding:14px 18px;
        text-align:right;
         background: #76c993;

        border-bottom:1px solid rgba(255,255,255,0.1);
    }

    .sub-menu li a{
        color:#000000;
        font-size:14px;
    }
.esp { 

margin-left: 0px;

}


}



    /* main */

    /* ================= SECTION TITLES ================= */

/* الحاوية العامة */
.menu-section{
    width:100%;
    padding:40px 0 20px;
     padding-bottom: 0px;
}

/* ===== H1 + H3 في الوسط ===== */
.section-intro{
    text-align:center;
    margin-bottom:40px;
}

.section-intro h1{
    color:rgb(102,53,53); /* بني */
    font-size:55px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:12px;
}

.section-intro h3{
    color:rgb(102,53,53);
    font-size:37px;
    font-weight:400;
    font-style:italic;
    margin:0;
}

/* ===== H2 على اليسار مع خط تحته ===== */
.section-category{
    width:80%;          /* يترك فراغ يمين ويسار */
    margin:0 auto;      /* توسيط الحاوية */
    border-bottom:10px solid rgb(102,53,53);
    border-radius: 12%;
    padding-bottom:10px;
}

.section-category h2{
    color:rgb(102,53,53);
    font-size:45px;
    font-weight:700;
    margin:0;
    text-align:left;
}

/* ===== Responsive ===== */
@media (max-width:768px){

    .section-intro h1{
        font-size:28px;
    }

    .section-intro h3{
        font-size:18px;
    }

    .section-category{
        width:92%;
        border-bottom:7px solid rgb(102,53,53);
        
    }

    .section-category h2{
        font-size:25px;

        
    }
}

/* card */
/* الكونتينر */
.menu-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:40px;                 /* مسافة مناسبة بين الكاردات */
    width:90%;
    margin:20px auto 0;
}

/* الكارد */
.drink-card{
    width:42%;                /* كاردان في كل سطر */
    min-height:220px;         /* حجم أكبر ومتوازن */

    display:flex;
    align-items:center;
    gap:20px;

    background:#76c993;
    padding:25px 30px;
    border-radius:18px;

    box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

/* الصورة */
.drink-image img{
    width:160px;
    height:160px;
    object-fit:cover;

    background:#e60000;
    padding:5px;
    border-radius:14px;
}

/* النص */
.drink-info{
    flex:1;
    color:#000000;
    line-height:1.7;
}

/* اسم المشروب */
.drink-info h3{
    margin:0 0 5px;
    font-size:36px;
    font-weight:700;
    letter-spacing:1px;
    color:#000000;
}

/* الوصف */
.drink-info p{
    margin:0 0 5px;
    font-size:14px;
    line-height:1.5;
    text-transform:uppercase;
    color:#000000;
}

/* السعر */
.drink-info span{
    display:block;
    font-size:30px;
    font-weight:700;
    color:#000000;
}



/* تجعل الصورة قابلة للنقر */
.zoom-image{
    cursor:pointer;
    transition:0.3s;
}

.zoom-image:hover{
    transform:scale(1.05);
}

/* النافذة المنبثقة */
.image-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:rgba(0,0,0,0.85);

    z-index:9999;

    justify-content:center;
    align-items:center;
    padding:20px;
     margin: 0 auto; /* يوسّط العنصر في وسط الصفحة */
}

/* عند إظهار النافذة */
.image-modal.active{
    display:flex;
}

/* الصورة المكبرة */
.modal-image{
    max-width:90%;
    max-height:90%;
    border-radius:20px;
    box-shadow:0 10px 40px rgba(0,0,0,0.4);
    animation:zoomIn 0.3s ease;
     margin: 0 auto; /* يوسّط العنصر في وسط الصفحة */
}



/* حركة التكبير */
@keyframes zoomIn{
    from{
        transform:scale(0.7);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}


/* الهاتف */
@media (max-width:768px){

    /* كارد واحد في كل سطر */
    .drink-card{
        width:100%;
        min-height:auto;
        padding:15px 18px;
        gap:15px;
    }

    /* الصورة أصغر */
    .drink-image img{
        width:90px;
        height:90px;
    }

    /* النص */
    .drink-info h3{
        font-size:26px;
        font-family: 'Cinzel', serif;
    }

    .drink-info p{
        font-size:15px;
        line-height:1.4;
        font-family: 'Cinzel', serif;
    }

    .drink-info span{
        font-size:25px;
        font-family: 'Cinzel', serif;
    }
}

/* خلفية الصفحة الرئيسية */
main{
    background-color:#f0fff2;
}





.menu-toggle{
    width:100%;
    max-width:720px;

    height:20px;

    margin-top:208px; /* تحت اللوجو */

right: 0px;

    background:linear-gradient(to bottom, #a8e8ba, #76c993);
    height: 35px;
    border:none;
    border-radius:10px;

    color:white;
    font-size:28px;
    font-weight:bold;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 3px 10px rgba(0,0,0,0.2);




}



.menu-toggle{
    display:none;
}

@media (max-width:768px){
    .menu-toggle{
        display:flex;
    }
}

.menu-toggle{
    position: sticky;
    top: 0;
    z-index: 2000;
    transition: 0.3s;
  margin-top: 0px;

  border-radius: 0%;

}

.menu-toggle:active{
    transform: scale(0.98);

    
}




.footer {
    background: #663535;
    color: white;
    padding: 20px;
    margin-top: 80px;
    font-family: 'Cinzel', serif;
}

/* كل العناصر في سطر واحد */
.title-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 360px;
    flex-wrap: wrap;
    flex-direction: row-reverse; /* يعكس ترتيب العناصر */
    text-align: center;
}

/* العناوين */
.title-box h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

/* الأيقونات */
.social-icons {
    display: flex; 
    gap: 20px;
    padding-right: 140px;
}

.social-icons a {
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #f5d6d6;
}

/* الصورة */
.title-box img {
    width: 70px;
    height: auto;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .title-box {
        flex-direction: column;
        gap: 15px;
    }

    .title-box img {
        width: 60px;
    }

.social-icons{
    display: flex;
    justify-content: center; /* توسيط أفقي */
    align-items: center;     /* توسيط عمودي */
    gap: 20px;

    padding-right: 0; /* حذف الإزاحة */
    width: 100%;
}

    
}





.main-menu li{
    list-style: none;
}

.main-menu li a{
    display: block;
    
    text-decoration: none;
}


@media (max-width:768px){

.menu-toggle{
    position: sticky;
    top: 0;
    z-index: 2000;
}

.sub-navbar{
    display: none;
    position: fixed;
    top: 60px;
    right: 10px;

    width: 270px;
    background: #76c993;
    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 9999;
}

.sub-navbar.active{
    display: flex;
    flex-direction: column;
}

}


/* هذا الكارد فقط */
.special-card{
    width:88%;
    min-height:88px;

    padding:8px 25px;
    border-radius:18px;
}

/* صورة هذا الكارد فقط */
.special-card .drink-image img{
    width:150px;
    height:150px;
     background:none;
}

/* عنوان هذا الكارد */
.special-card .drink-info h3{
    font-size:30px;
     margin-bottom:-7px; /* صغّر المسافة أسفل العنوان */
     color: #bdf2ca;
}

/* الوصف */
.special-card .drink-info p{
    font-size:17px;
     margin-top:0px;      /* إزالة المسافة فوق الفقرة */
     color: #bdf2ca;
}

/* السعر */
.special-card .drink-info span{
    font-size:28px;
    margin-left:auto;
    color: #bdf2ca;
}
.special-card{
    background-color:#ff0000; /* غيّر هذا اللون كما تريد */
}

/* الهاتف */
@media (max-width:768px){

    /* كارد واحد في كل سطر */
    .special-card{
        width:100%;
        min-height:auto;
        padding:15px 18px;
        gap:15px;
    }

    /* الصورة أصغر */
    .special-card .drink-image img{
        width:90px;
        height:90px;
    }

    /* النص */
    .special-card .drink-info h3{
        font-size:26px;
        font-family: 'Cinzel', serif;
    }

    .special-card .drink-info p{
        font-size:15px;
        line-height:1.4;
        font-family: 'Cinzel', serif;
    }

    .special-card .drink-info span{
        font-size:25px;
        font-family: 'Cinzel', serif;
    }
}


