/* ==========================
   Google Font
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#333;
}

/* ==========================
Header
========================== */

header{
    position:sticky;
    top:0;
    z-index:999;
    background:#ffffff;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#ff5722;
}

.logo i{
    margin-right:8px;
}

.table-number{
    background:#ff5722;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-weight:600;
}

/* ==========================
Hero
========================== */

/* ==========================
Hero Section
========================== */

.hero{

    position:relative;

    width:100%;

    height:500px;

    background:url("images/hero-banner.jpg") center center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

}

.hero-overlay{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    z-index:2;

    color:#fff;

    animation:fadeUp 1s ease;

}

.hero h1{

    font-size:58px;

    font-weight:700;

    margin-bottom:15px;

}

.hero p{

    font-size:22px;

    margin-bottom:30px;

}

.hero-btn{

    display:inline-block;

    padding:15px 40px;

    background:#ff5722;

    color:#fff;

    text-decoration:none;

    border-radius:40px;

    font-size:18px;

    transition:.3s;

}

.hero-btn:hover{

    background:#ffffff;

    color:#ff5722;

    transform:translateY(-3px);

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================
Search
========================== */

.search-section{
    width:90%;
    max-width:700px;
    margin:30px auto;
}

.search-section input{
    width:100%;
    padding:16px 20px;
    border:none;
    border-radius:50px;
    outline:none;
    font-size:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

/* ==========================
Categories
========================== */

.categories{
    display:flex;
    gap:15px;
    overflow-x:auto;
    padding:10px 20px 30px;
}

.categories::-webkit-scrollbar{
    display:none;
}

.categories button{
    border:none;
    background:#fff;
    padding:12px 22px;
    border-radius:40px;
    cursor:pointer;
    transition:.3s;
    white-space:nowrap;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.categories button:hover,
.categories .active{
    background:#ff5722;
    color:#fff;
}

/* ==========================
Menu Grid
========================== */

.menu-grid{
    width:95%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    padding-bottom:100px;
}

/* ==========================
Food Card
========================== */

.food-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.food-card:hover{
    transform:translateY(-10px);
}

.food-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.food-details{
    padding:20px;
}

.food-details h3{
    margin-bottom:8px;
    font-size:22px;
}

.food-details p{
    color:#777;
    margin-bottom:15px;
}

.price{
    font-size:24px;
    color:#ff5722;
    font-weight:700;
    margin-bottom:18px;
}

.add-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:#ff5722;
    color:#fff;
    font-size:16px;
    transition:.3s;
}

.add-btn:hover{
    background:#e64a19;
}

/* ==========================
Floating Cart
========================== */

.floating-cart{
    position:fixed;
    right:30px;
    bottom:30px;
    width:70px;
    height:70px;
    background:#ff5722;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    font-size:28px;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
    z-index:999;
}

#cartCount{
    position:absolute;
    top:-5px;
    right:-5px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#222;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:14px;
}

/* ==========================
Cart Modal
========================== */

.cart-modal{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.cart-box{
    background:#fff;
    width:95%;
    max-width:500px;
    border-radius:20px;
    padding:25px;
    max-height:90vh;
    overflow:auto;
}

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.cart-header h2{
    color:#ff5722;
}

.cart-header span{
    cursor:pointer;
    font-size:22px;
}

#cartItems{
    margin-bottom:20px;
}

.cart-total{
    font-size:22px;
    font-weight:700;
    margin-bottom:20px;
    color:#ff5722;
}

/* ==========================
Inputs
========================== */

.cart-box input,
.cart-box textarea{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
    resize:none;
}

.cart-box textarea{
    height:90px;
}

/* ==========================
WhatsApp Button
========================== */

#whatsappBtn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    background:#25D366;
    color:#fff;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

#whatsappBtn:hover{
    background:#1db954;
}

/* ==========================
Footer
========================== */

footer{
    text-align:center;
    padding:30px;
    background:#fff;
    margin-top:60px;
    color:#666;
}

/* ==========================
Responsive
========================== */

@media(max-width:768px){

header{
    padding:15px;
}

.logo{
    font-size:20px;
}

.table-number{
    font-size:14px;
    padding:7px 14px;
}

/* Hero Section */
.hero{
    height:320px;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:16px;
}

.hero-btn{
    padding:12px 30px;
    font-size:16px;
}

/* Search */
.search-section{
    width:95%;
}

/* Menu */
.menu-grid{
    grid-template-columns:1fr;
}

.food-card img{
    height:220px;
}

/* Floating Cart */
.floating-cart{
    width:60px;
    height:60px;
    font-size:22px;
    right:20px;
    bottom:20px;
}

/* Cart Popup */
.cart-box{
    width:95%;
    padding:20px;
}

}

.cart-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    padding:12px;
    background:#f8f8f8;
    border-radius:12px;
}

.cart-item h4{
    margin-bottom:5px;
}

.cart-item p{
    color:#666;
    font-size:14px;
}

.cart-actions{
    display:flex;
    gap:8px;
}

.cart-actions button{
    width:36px;
    height:36px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    background:#ff5722;
    color:#fff;
    font-size:16px;
    transition:.3s;
}

.cart-actions button:hover{
    background:#e64a19;
}

.food-card{
    transition:.35s;
}

.food-card.hide{
    display:none;
}

.payment-modal{
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.6);
display:none;
justify-content:center;
align-items:center;
z-index:99999;
}

.payment-box{

background:white;
padding:30px;
border-radius:20px;
text-align:center;
width:350px;

}

#paymentQR{

margin:20px auto;

}

.payment-box button{

width:100%;
padding:15px;
margin-top:15px;
border:none;
border-radius:10px;
cursor:pointer;
font-size:16px;

}

#paidBtn{

background:#25D366;
color:white;

}

#closePayment{

background:#e74c3c;
color:white;

}