*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI', Roboto, Arial, sans-serif;
    background:#f4f4f4;
    color:#3e2723;
    margin:0;
    padding-bottom:0;
}

/* ===== NAVBAR ===== */

.navbar{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(62,39,35,.96);
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
    box-shadow:0 2px 14px rgba(0,0,0,.2);
}

.nav-inner{
    max-width:1500px;
    margin:0 auto;
    padding:16px 40px;
    display:flex;
    align-items:center;
    gap:20px;
}

.brand{
    font-size:22px;
    font-weight:bold;
    color:#fff;
    letter-spacing:.5px;
}

.nav-links{
    display:flex;
    gap:8px;
    margin-left:auto;
}

.nav-links a{
    color:#e9dcd4;
    text-decoration:none;
    padding:8px 14px;
    border-radius:8px;
    font-weight:500;
    transition:.2s;
}

.nav-links a:hover{
    background:rgba(255,255,255,.12);
    color:#fff;
}

#adminBtn{
    background:#6f4e37;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.25s;
}

#adminBtn:hover{
    background:#8d6e63;
    transform:translateY(-2px);
}

/* ===== HERO ===== */

.hero{
    position:relative;
    min-height:420px;
    display:flex;
    align-items:center;
    background:
        linear-gradient(rgba(62,39,35,.7), rgba(62,39,35,.78)),
        url('background-login.jpg') center / cover no-repeat;
}

.hero-content{
    max-width:1500px;
    margin:0 auto;
    padding:40px;
    width:100%;
    color:#fff;
}

.hero-tag{
    display:inline-block;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.3);
    padding:6px 16px;
    border-radius:30px;
    font-size:14px;
    margin-bottom:18px;
}

.hero-content h1{
    font-size:46px;
    margin:0 0 14px;
    max-width:640px;
    line-height:1.2;
}

.hero-content p{
    font-size:18px;
    max-width:520px;
    color:#f0e6e0;
    margin:0 0 26px;
}

.hero-btn{
    display:inline-block;
    background:#fff;
    color:#4e342e;
    text-decoration:none;
    padding:14px 28px;
    border-radius:12px;
    font-weight:700;
    transition:.25s;
}

.hero-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 24px rgba(0,0,0,.35);
}

/* ===== LAYOUT ===== */

.container{
    max-width:1500px;
    margin:0 auto;
    padding:40px;
}

.shop-layout{
    display:grid;
    grid-template-columns:1fr 380px;
    gap:28px;
    align-items:start;
}

/* ===== PANELS ===== */

.menu-panel,
.cart-panel,
.info-card{
    background:white;
    border-radius:16px;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
}

.menu-panel{
    padding:26px;
}

.panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

h2{
    margin:0;
    color:#4e342e;
    border-left:4px solid #6f4e37;
    padding-left:12px;
}

.filters{
    display:flex;
    gap:10px;
    flex:1;
    justify-content:flex-end;
    flex-wrap:wrap;
}

.filters input,
.filters select{
    margin:0;
    width:auto;
    min-width:150px;
}

/* ===== MENU GRID ===== */

#menu{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:18px;
}

.card{
    border:1px solid #efe7e2;
    padding:20px 18px;
    border-radius:16px;
    background:#fff;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
    transition:.25s;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(0,0,0,.14);
    border-color:#d7c4b8;
}

.item-icon{
    width:64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    border-radius:50%;
    background:linear-gradient(135deg,#efebe9,#d7ccc8);
    margin-bottom:4px;
}

.card h3{
    margin:0;
    color:#4e342e;
    font-size:17px;
}

.item-cat{
    display:inline-block;
    font-size:12px;
    color:#8d6e63;
    background:#f4efec;
    padding:3px 12px;
    border-radius:20px;
}

.item-price{
    margin:4px 0;
    font-weight:bold;
    color:#6f4e37;
    font-size:19px;
}

.card button{
    margin-top:auto;
    width:100%;
}

/* ===== CART PANEL (sticky) ===== */

.cart-panel{
    padding:24px;
    position:sticky;
    top:88px;
}

#cart{
    margin-top:8px;
    max-height:320px;
    overflow-y:auto;
}

.cart-item{
    border-bottom:1px solid #f0eae6;
    padding:12px 2px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    font-size:14px;
}

.qty-btn{
    width:30px;
    height:30px;
    padding:0;
    border-radius:8px;
    font-weight:bold;
    line-height:1;
}

.summary{
    margin-top:16px;
    padding-top:16px;
    border-top:2px dashed #e6dcd5;
}

.summary p{
    display:flex;
    justify-content:space-between;
    margin:6px 0;
    color:#6d4c41;
}

.summary h3{
    display:flex;
    justify-content:space-between;
    margin:12px 0 0;
    color:#4e342e;
}

#subtotal,#serviceFee,#total{
    font-weight:bold;
    color:#4e342e;
}

/* ===== PAYMENT BLOCK ===== */

.pay-block{
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid #f0eae6;
}

.pay-block h3{
    margin:0 0 10px;
    color:#4e342e;
}

#paymentInfo{
    color:#6d4c41;
    margin:8px 0;
    font-weight:600;
    min-height:8px;
}

.pay-btn{
    width:100%;
    margin-top:6px;
    padding:14px;
    font-size:16px;
}

#orderResult{
    margin-top:12px;
    font-weight:600;
    color:#2e7d32;
}

/* ===== INFO GRID (booking + complaint) ===== */

.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-top:24px;
}

.info-card{
    padding:26px;
}

.info-card h2{
    margin-bottom:16px;
}

#bookingMessage,
#complaintMessage{
    margin-top:10px;
    font-weight:600;
}

/* ===== BUTTONS / INPUTS ===== */

button{
    background:#6f4e37;
    color:white;
    border:none;
    padding:10px 18px;
    cursor:pointer;
    border-radius:10px;
    font-weight:600;
    transition:.25s;
}

button:hover{
    background:#5d4037;
    transform:translateY(-2px);
}

input,select,textarea{
    width:100%;
    padding:12px 14px;
    margin:8px 0;
    box-sizing:border-box;
    border:1px solid #d9cfca;
    border-radius:10px;
    font-family:inherit;
    font-size:14px;
    background:#fbf9f8;
    transition:.25s;
}

input:focus,select:focus,textarea:focus{
    outline:none;
    border-color:#6f4e37;
    background:#fff;
    box-shadow:0 0 0 3px rgba(111,78,55,.15);
}

textarea{
    min-height:90px;
    resize:vertical;
}

form button{
    width:100%;
    margin-top:8px;
}

/* ===== FOOTER ===== */

.site-footer{
    background:#3e2723;
    color:#d7c4b8;
    text-align:center;
    padding:24px;
    margin-top:40px;
    font-size:14px;
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){
    .shop-layout{
        grid-template-columns:1fr;
    }

    .cart-panel{
        position:static;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:34px;
    }
}

@media(max-width:600px){
    .nav-links{
        display:none;
    }

    .container{
        padding:20px 14px;
    }

    .menu-panel,
    .cart-panel,
    .info-card{
        padding:18px;
    }

    .panel-head,
    .filters{
        flex-direction:column;
        align-items:stretch;
    }

    .filters input,
    .filters select{
        width:100%;
    }
}
