/* ===========================
   FRESHBITE | MOODY FOODY
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fffdf8;
    color:#222;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

section{
    padding:80px 8%;
}

/* ===========================
        NAVBAR
=========================== */

header{

    width:100%;
    background:#fff;

    position:sticky;
    top:0;

    z-index:1000;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.navbar{

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:75px;

    height:75px;

    border-radius:50%;

    object-fit:cover;

}

.logo h2{

    font-size:34px;

    font-weight:700;

    color:#222;

}

.logo span{

    color:#666;

    font-size:15px;

}

.nav-links{

    display:flex;

    gap:38px;

    align-items:center;

}

.nav-links a{

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{

    color:#ff6b00;

}

.login-btn{

    background:#ff6b00;

    color:white!important;

    padding:14px 28px;

    border-radius:50px;

}

.login-btn:hover{

    background:#ff8f3d;

}

/* ===========================
        HERO
=========================== */

.hero{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

    min-height:90vh;

}

.hero-left h4{

    color:#ff6b00;

    letter-spacing:2px;

    margin-bottom:18px;

}

.hero-left h1{

    font-size:70px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero-left span{

    color:#ff6b00;

}

.hero-left p{

    font-size:20px;

    line-height:1.9;

    color:#666;

    margin-bottom:40px;

}

.hero-right{

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:550px;

    height:550px;

    border-radius:30px;

    object-fit:cover;

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

/* ===========================
      SEARCH
=========================== */

.search-box{

    display:flex;

    background:white;

    border-radius:60px;

    overflow:hidden;

    margin-bottom:35px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.search-box input{

    flex:1;

    border:none;

    padding:20px;

    font-size:17px;

    outline:none;

}

.search-box button{

    border:none;

    background:#ff6b00;

    color:white;

    padding:20px 35px;

    cursor:pointer;

    font-size:17px;

}

.search-box button:hover{

    background:#ff8730;

}

/* ===========================
      BUTTONS
=========================== */

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:50px;

}

.primary-btn{

    background:#ff6b00;

    color:white;

    padding:18px 36px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.primary-btn:hover{

    transform:translateY(-5px);

}

.secondary-btn{

    border:2px solid #ff6b00;

    color:#ff6b00;

    padding:18px 36px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.secondary-btn:hover{

    background:#ff6b00;

    color:white;

}

/* ===========================
        STATS
=========================== */

.hero-stats{

    display:flex;

    gap:55px;

}

.hero-stats h3{

    color:#ff6b00;

    font-size:36px;

}

.hero-stats span{

    color:#666;

}

/* ===========================
      CATEGORIES
=========================== */

.categories{

    text-align:center;

}

.categories h2{

    font-size:48px;

    margin-bottom:60px;

}

.category-grid{

    display:grid;

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

    gap:30px;

}

.category-card{

    background:white;

    padding:45px;

    border-radius:25px;

    transition:.35s;

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

}

.category-card:hover{

    transform:translateY(-12px);

}

.category-card i{

    font-size:55px;

    color:#ff6b00;

    margin-bottom:25px;

}

.category-card h3{

    font-size:24px;

}
/* ===========================
      FEATURED RECIPES
=========================== */

.featured{
    background:#fff;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:48px;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
    font-size:18px;
}

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

.recipe-card{

    background:#fff;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.recipe-card:hover{

    transform:translateY(-10px);

}

.recipe-card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.recipe-card h3{

    padding:20px 20px 10px;

    font-size:28px;

}

.recipe-card p{

    padding:0 20px;

    color:#666;

    line-height:1.8;

}

.recipe-card a{

    display:inline-block;

    margin:20px;

    background:#ff6b00;

    color:white;

    padding:14px 28px;

    border-radius:40px;

}
/* ===========================
   SHARED / NEW PAGES
   Added for: menu, restaurants, cart, checkout,
   login, register, account, about, contact, footer
=========================== */

:root{
    --primary:#ff6b00;
    --primary-dark:#e05a00;
    --cream:#fffdf8;
    --dark:#2d1b12;
    --text-light:#666;
}

/* ---- Login button / cart badge in navbar ---- */
.login-btn{
    background:var(--primary);
    color:#fff !important;
    padding:10px 22px;
    border-radius:30px;
    font-weight:600;
}

.nav-links li a{
    position:relative;
}

.cart-badge{
    background:var(--primary);
    color:#fff;
    font-size:11px;
    font-weight:700;
    border-radius:50%;
    padding:1px 6px;
    position:relative;
    top:-8px;
    left:2px;
}

/* ---- Page header banner (used on inner pages) ---- */
.page-banner{
    background:linear-gradient(135deg,#fff3e8,var(--cream));
    padding:60px 8% 40px;
    text-align:center;
}

.page-banner h1{
    font-size:42px;
    color:var(--dark);
}

.page-banner p{
    color:var(--text-light);
    margin-top:10px;
}

/* ---- Buttons ---- */
.btn{
    display:inline-block;
    border:none;
    cursor:pointer;
    background:var(--primary);
    color:#fff;
    padding:14px 30px;
    border-radius:40px;
    font-weight:600;
    font-size:15px;
    transition:.3s;
    text-align:center;
}

.btn:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}

.btn-outline{
    background:transparent;
    color:var(--primary);
    border:2px solid var(--primary);
}

.btn-outline:hover{
    background:var(--primary);
    color:#fff;
}

.btn-block{
    width:100%;
}

/* ---- Menu Page ---- */
.menu-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    justify-content:space-between;
    align-items:center;
    padding:0 8% 30px;
}

.menu-search{
    flex:1;
    min-width:220px;
    display:flex;
    border:2px solid #eee;
    border-radius:40px;
    overflow:hidden;
}

.menu-search input{
    flex:1;
    border:none;
    padding:12px 20px;
    outline:none;
    font-family:inherit;
}

.menu-search button{
    border:none;
    background:var(--primary);
    color:#fff;
    padding:0 22px;
    cursor:pointer;
}

.filter-group{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.filter-chip{
    border:2px solid #eee;
    background:#fff;
    padding:9px 20px;
    border-radius:30px;
    cursor:pointer;
    font-size:14px;
    font-weight:500;
    transition:.25s;
}

.filter-chip.active,
.filter-chip:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}

.veg-toggle{
    display:flex;
    gap:8px;
}

.food-grid{
    padding:10px 8% 80px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
    gap:30px;
}

.food-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.07);
    transition:.3s;
    position:relative;
}

.food-card:hover{
    transform:translateY(-8px);
}

.food-card img{
    height:190px;
    object-fit:cover;
}

.food-tag{
    position:absolute;
    top:14px;
    left:14px;
    width:22px;
    height:22px;
    border:2px solid #fff;
    border-radius:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}

.food-tag::after{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
}

.food-tag.veg::after{ background:#2e7d32; }
.food-tag.nonveg::after{ background:#c0392b; }

.food-card-body{
    padding:18px 20px 22px;
}

.food-card-body h3{
    font-size:19px;
    margin-bottom:6px;
}

.food-card-body p{
    color:var(--text-light);
    font-size:13.5px;
    line-height:1.6;
    min-height:42px;
}

.food-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:14px;
}

.food-price{
    font-size:19px;
    font-weight:700;
    color:var(--dark);
}

.food-rating{
    font-size:13px;
    color:#e08b00;
    font-weight:600;
}

.add-cart-btn{
    margin-top:14px;
    width:100%;
    border:none;
    background:var(--dark);
    color:#fff;
    padding:11px;
    border-radius:30px;
    cursor:pointer;
    font-weight:600;
    transition:.25s;
}

.add-cart-btn:hover{
    background:var(--primary);
}

.qty-box{
    margin-top:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:var(--dark);
    border-radius:30px;
    overflow:hidden;
}

.qty-box button{
    background:none;
    border:none;
    color:#fff;
    font-size:18px;
    width:38px;
    height:38px;
    cursor:pointer;
}

.qty-box span{
    color:#fff;
    font-weight:700;
}

.no-results{
    text-align:center;
    padding:60px 20px;
    color:var(--text-light);
    grid-column:1/-1;
}

/* ---- Cart Page ---- */
.cart-layout{
    padding:20px 8% 80px;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:start;
}

.cart-item{
    display:flex;
    gap:18px;
    background:#fff;
    border-radius:18px;
    padding:16px;
    margin-bottom:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.cart-item img{
    width:100px;
    height:100px;
    object-fit:cover;
    border-radius:14px;
}

.cart-item-info{
    flex:1;
}

.cart-item-info h3{
    font-size:18px;
    margin-bottom:5px;
}

.cart-item-info p{
    color:var(--text-light);
    font-size:14px;
}

.cart-item-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:12px;
}

.cart-item-qty{
    display:flex;
    align-items:center;
    gap:12px;
    background:#f5f0ea;
    border-radius:30px;
    padding:4px 6px;
}

.cart-item-qty button{
    width:28px;
    height:28px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
    font-size:14px;
}

.remove-btn{
    background:none;
    border:none;
    color:#c0392b;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
}

.empty-cart{
    text-align:center;
    padding:70px 20px;
}

.empty-cart i{
    font-size:60px;
    color:#ddd;
    margin-bottom:20px;
}

.order-summary{
    background:#fff;
    border-radius:20px;
    padding:26px;
    box-shadow:0 8px 25px rgba(0,0,0,.07);
    position:sticky;
    top:100px;
}

.order-summary h3{
    margin-bottom:18px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    color:var(--text-light);
    font-size:15px;
}

.summary-row.total{
    color:var(--dark);
    font-weight:700;
    font-size:19px;
    border-top:1px solid #eee;
    padding-top:14px;
    margin-top:8px;
}

.coupon-box{
    display:flex;
    gap:10px;
    margin:18px 0;
}

.coupon-box input{
    flex:1;
    padding:11px 14px;
    border:1.5px solid #eee;
    border-radius:10px;
}

/* ---- Forms (checkout / login / register / contact / account) ---- */
.form-wrap{
    max-width:520px;
    margin:0 auto;
    background:#fff;
    padding:40px;
    border-radius:22px;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:7px;
    font-weight:600;
    font-size:14px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:12px 16px;
    border:1.5px solid #eee;
    border-radius:10px;
    font-family:inherit;
    outline:none;
    transition:.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:var(--primary);
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.form-note{
    text-align:center;
    margin-top:18px;
    font-size:14px;
    color:var(--text-light);
}

.form-note a{
    color:var(--primary);
    font-weight:600;
}

.error-text{
    color:#c0392b;
    font-size:13px;
    margin-top:5px;
    display:none;
}

.checkout-layout{
    padding:20px 8% 80px;
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:40px;
    align-items:start;
}

.checkout-section{
    background:#fff;
    border-radius:18px;
    padding:26px;
    margin-bottom:22px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.checkout-section h3{
    margin-bottom:16px;
}

.saved-address{
    border:1.5px solid #eee;
    border-radius:14px;
    padding:14px 18px;
    margin-bottom:12px;
    cursor:pointer;
}

.saved-address.selected{
    border-color:var(--primary);
    background:#fff7f0;
}

.payment-option{
    display:flex;
    align-items:center;
    gap:12px;
    border:1.5px solid #eee;
    border-radius:14px;
    padding:14px 18px;
    margin-bottom:12px;
    cursor:pointer;
}

.payment-option.selected{
    border-color:var(--primary);
    background:#fff7f0;
}

.time-slots{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.time-slot{
    border:1.5px solid #eee;
    padding:10px 18px;
    border-radius:30px;
    cursor:pointer;
    font-size:14px;
}

.time-slot.selected{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.order-success{
    text-align:center;
    padding:100px 8%;
}

.order-success i{
    font-size:80px;
    color:#2e7d32;
    margin-bottom:20px;
}

/* ---- Account Page ---- */
.account-layout{
    padding:20px 8% 80px;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:35px;
}

.account-sidebar{
    background:#fff;
    border-radius:18px;
    padding:26px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    text-align:center;
    height:fit-content;
}

.account-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    font-weight:700;
    margin:0 auto 14px;
}

.account-tabs{
    list-style:none;
    margin-top:20px;
    text-align:left;
}

.account-tabs li a{
    display:block;
    padding:12px 14px;
    border-radius:10px;
    margin-bottom:6px;
    color:var(--dark);
    font-weight:500;
}

.account-tabs li a.active,
.account-tabs li a:hover{
    background:#fff3e8;
    color:var(--primary);
}

.account-content{
    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.order-card{
    border:1.5px solid #eee;
    border-radius:14px;
    padding:16px 20px;
    margin-bottom:14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.order-status{
    padding:5px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.status-delivered{ background:#e6f4ea; color:#2e7d32; }
.status-preparing{ background:#fff3e0; color:#e08b00; }

/* ---- About Page ---- */
.about-grid{
    padding:20px 8% 80px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-grid img{
    border-radius:24px;
}

.about-grid h2{
    font-size:34px;
    margin-bottom:16px;
}

.about-grid p{
    color:var(--text-light);
    line-height:1.9;
    margin-bottom:14px;
}

.stats-strip{
    display:flex;
    justify-content:center;
    gap:60px;
    padding:50px 8%;
    background:var(--dark);
    color:#fff;
    text-align:center;
}

.stats-strip h3{
    font-size:36px;
    color:var(--primary);
}

/* ---- Contact Page ---- */
.contact-layout{
    padding:20px 8% 80px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-info-card{
    background:#fff;
    border-radius:18px;
    padding:26px;
    margin-bottom:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.contact-info-card i{
    font-size:22px;
    color:var(--primary);
    margin-top:4px;
}

.map-frame{
    border-radius:18px;
    overflow:hidden;
    margin-top:16px;
    height:220px;
}

/* ---- Toast Notification ---- */
.toast{
    position:fixed;
    bottom:30px;
    right:30px;
    background:var(--dark);
    color:#fff;
    padding:16px 26px;
    border-radius:12px;
    font-weight:600;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    transform:translateY(120px);
    opacity:0;
    transition:.35s;
    z-index:3000;
}

.toast.show{
    transform:translateY(0);
    opacity:1;
}

/* ---- Footer ---- */
footer{
    background:var(--dark);
    color:#eee;
    padding:60px 8% 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.3fr;
    gap:40px;
    padding-bottom:35px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
}

.footer-logo img{
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
}

.footer-logo h3{
    font-size:20px;
}

.footer-col h4{
    margin-bottom:16px;
    font-size:16px;
}

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

.footer-col ul li a{
    color:#ccc;
    font-size:14px;
}

.footer-col ul li a:hover{
    color:var(--primary);
}

.social-icons{
    display:flex;
    gap:12px;
    margin-top:16px;
}

.social-icons a{
    width:38px;
    height:38px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
}

.social-icons a:hover{
    background:var(--primary);
}

.footer-bottom{
    text-align:center;
    padding-top:20px;
    font-size:13px;
    color:#aaa;
}
