/* ==========================
   ESSEN KARTEN
   style.css
========================== */


*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}


body{

    font-family:'Poppins',sans-serif;

    background:#121212;

    color:white;

    min-height:100vh;

}



/* ---------------- HEADER ---------------- */


header{

    background:linear-gradient(135deg,#ff5a00,#ff9100);

    padding:35px;

    text-align:center;

    box-shadow:0 5px 20px rgba(0,0,0,.3);

}


header h1{

    font-size:42px;

    font-weight:700;

}


header p{

    margin-top:8px;

    opacity:.9;

}




/* ---------------- GRID ---------------- */


.restaurant-grid{

    width:90%;

    max-width:1200px;

    margin:50px auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}




/* ---------------- CARD ---------------- */


.card{

    background:#1d1d1d;

    border-radius:18px;

    text-align:center;

    padding:35px 20px;

    cursor:pointer;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.35);

}


.card:hover{

    transform:translateY(-8px);

    background:#242424;

    box-shadow:0 20px 35px rgba(255,90,0,.25);

}


.icon{

    font-size:60px;

    margin-bottom:15px;

}


.card h2{

    margin-bottom:20px;

    font-size:24px;

}


.card button{

    border:none;

    background:#ff5a00;

    color:white;

    padding:14px 28px;

    border-radius:50px;

    font-size:16px;

    cursor:pointer;

}


.card button:hover{

    background:#ff7800;

}





/* ---------------- LIGHTBOX ---------------- */


#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:999;

    padding:15px;

}




.lightbox-content{

    position:relative;

    width:100%;

    max-width:1100px;

    height:95vh;

    display:flex;

    justify-content:center;

    align-items:center;

}





#close{

    position:absolute;

    right:10px;

    top:5px;

    z-index:20;

    font-size:45px;

    cursor:pointer;

    color:white;

}



#close:hover{

    color:#ff5a00;

}





/* ---------------- SPEISEKARTE BILD ---------------- */


#menuImage{

    max-width:100%;

    max-height:90vh;

    width:auto;

    height:auto;

    object-fit:contain;

    background:white;

    border-radius:12px;


    /* Zoom-Unterstützung */

    cursor:grab;

    user-select:none;

    touch-action:none;

    transition:transform .2s ease;

}







/* ---------------- NAVIGATION ---------------- */


.navigation{

    position:absolute;

    left:0;

    right:0;

    top:50%;

    transform:translateY(-50%);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 15px;

    pointer-events:none;

}





.nav-btn{

    width:70px;

    height:70px;

    border-radius:50%;

    border:none;

    background:rgba(255,90,0,.95);

    color:white;

    font-size:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    pointer-events:auto;

    transition:.2s;

}



.nav-btn:hover{

    background:#ff9100;

    transform:scale(1.1);

}





#pageNumber{

    position:absolute;

    top:calc(100% + 20px);

    left:50%;

    transform:translateX(-50%);

    color:white;

    font-size:18px;

}





/* ---------------- FOOTER ---------------- */


footer{

    margin-top:40px;

    text-align:center;

    padding:30px;

    color:#888;

}





/* ---------------- MOBILE ---------------- */


@media(max-width:768px){


header h1{

    font-size:30px;

}



.restaurant-grid{

    width:92%;

}



.card{

    padding:30px 15px;

}



.icon{

    font-size:50px;

}



.card h2{

    font-size:20px;

}



.card button{

    width:100%;

}



.lightbox-content{

    height:100vh;

}



.nav-btn{

    width:60px;

    height:60px;

    font-size:45px;

}



#menuImage{

    max-height:85vh;

}



}