/*
=========================================
FoodStreetly Premium UI v2
Restaurants Module
=========================================
*/

:root{

--primary:#16a34a;
--primary-dark:#15803d;

--secondary:#f59e0b;

--dark:#111827;

--text:#374151;

--light:#f8fafc;

--white:#ffffff;

--radius:18px;

--shadow:0 20px 50px rgba(0,0,0,.12);

--transition:.35s;

}

*{

margin:0;

padding:0;

box-sizing:border-box;

}

body{

font-family:'Poppins',sans-serif;

background:#f8fafc;

color:var(--text);

}
/*=====================================
PREMIUM HERO
======================================*/

.restaurant-hero{

    position:relative;

   min-height:520px;

    display:flex;

    align-items:center;

    justify-content:center;

    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("/assets/images/restaurant-banner.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}

.hero-overlay{

    display:none;

}

.hero-content{

    position:relative;

    z-index:5;

    text-align:center;

    color:#fff;

    max-width:900px;

    margin:auto;

}
.hero-badge{

display:inline-block;

padding:12px 28px;

background:rgba(255,255,255,.12);

backdrop-filter:blur(10px);

border:1px solid rgba(255,255,255,.3);

border-radius:50px;

font-size:15px;

margin-bottom:30px;

color:#fff;

}

.hero-content h1{

font-size:60px;

font-weight:800;

line-height:1.15;

margin-bottom:25px;

color:#fff;

}

.hero-content p{

font-size:22px;

opacity:.95;

margin-bottom:45px;

color:#fff;

}
/*=====================================
Hero Statistics
======================================*/

.hero-stats{

display:flex;

justify-content:center;

gap:30px;

margin-top:70px;

flex-wrap:wrap;

}

.stat-card{

width:220px;

padding:28px;

background:rgba(255,255,255,.12);

backdrop-filter:blur(15px);

border:1px solid rgba(255,255,255,.25);

border-radius:20px;

text-align:center;

transition:.35s;

box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.stat-card:hover{

transform:translateY(-8px);

background:rgba(255,255,255,.18);

}

.stat-icon{

font-size:34px;

margin-bottom:12px;

}

.stat-card h2{

font-size:40px;

font-weight:800;

margin-bottom:5px;

color:#fff;

}

.stat-card p{

margin:0;

font-size:17px;

color:#f3f3f3;

}
/*=====================================
Premium Search Box
======================================*/

.hero-search{

    display:flex;

    align-items:center;

    justify-content:center;

    max-width:760px;

    margin:40px auto;

    background:#fff;

    border-radius:60px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.20);

}

.hero-search input{

    flex:1;

    border:none;

    outline:none;

    height:68px;

    padding:0 30px;

    font-size:18px;

    color:#333;

    background:transparent;

}

.hero-search input::placeholder{

    color:#999;

}

.hero-search button{

    width:180px;

    height:68px;

    border:none;

    background:linear-gradient(135deg,#16a34a,#22c55e);

    color:#fff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

}

.hero-search button:hover{

    background:linear-gradient(135deg,#15803d,#16a34a);

}

/*=====================================
FOODSTREETLY UNIVERSAL PREMIUM CARD
======================================*/

.restaurant-card-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.restaurant-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    border:1px solid #ececec;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.30s ease;

    height:100%;

}

.restaurant-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.card-image{

    position:relative;

    overflow:hidden;

}

.card-image img{

    width:100%;

    height:190px;

    object-fit:cover;

    transition:.35s;

}

.restaurant-card:hover .card-image img{

    transform:scale(1.05);

}

.featured-badge{

    position:absolute;

    top:12px;

    left:12px;

    background:#16a34a;

    color:#fff;

    padding:6px 12px;

    border-radius:30px;

    font-size:11px;

    font-weight:600;

}

.card-body{

    padding:18px;

}

.restaurant-name{

    font-size:20px;

    font-weight:700;

    color:#222;

    margin-bottom:10px;

    line-height:1.35;

}

.restaurant-rating{

    color:#f59e0b;

    font-size:14px;

    font-weight:600;

    margin-bottom:10px;

}

.restaurant-rating span{

    color:#666;

    font-weight:400;

}

.restaurant-category{

    font-size:14px;

    color:#444;

    margin-bottom:6px;

}

.restaurant-location{

    font-size:14px;

    color:#777;

}

@media(max-width:768px){

.card-image img{

height:170px;

}

.restaurant-name{

font-size:18px;

}

.card-body{

padding:15px;

}

}
/* ===========================
Restaurant Hero Mobile Fix
=========================== */

@media (max-width:768px){

.restaurant-hero{
    min-height:320px;
    padding:50px 20px;
    background-position:center center;
}

.hero-content{
    padding:0 10px;
}

.hero-content h1{
    font-size:32px;
    line-height:1.25;
    margin-bottom:15px;
}

.hero-content p{
    font-size:16px;
    line-height:1.6;
    margin-bottom:20px;
}

.hero-badge{
    font-size:13px;
    padding:8px 18px;
    margin-bottom:18px;
}

.hero-search{
    flex-direction:column;
    border-radius:18px;
}

.hero-search input{
    width:100%;
    height:55px;
}

.hero-search button{
    width:100%;
    height:55px;
}

.hero-stats{
    gap:12px;
    margin-top:30px;
}

.stat-card{
    width:100%;
    max-width:170px;
    padding:18px;
}

}
@media (max-width:768px){

.hero-categories{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    width:100%;
    margin-top:20px;
}

.hero-categories a{
    width:100%;
    text-align:center;
    font-size:13px;
    padding:10px 8px;
    border-radius:12px;
}

}
@media (max-width:768px){

.hero-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin-top:20px;
}

.stat-box{
    min-width:unset;
    width:100%;
    padding:12px 8px;
}

.stat-box strong{
    font-size:18px;
}

.stat-box span{
    font-size:11px;
}

}