/* ==========================================================
   FoodStreetly - Main Stylesheet (CLEAN VERSION)
========================================================== */

/* ===============================
   ROOT COLORS
================================= */
:root{
    --primary:#6C2BD9;
    --primary-dark:#5521B5;
    --accent:#FF4FA3;
    --white:#ffffff;
    --black:#1f1f1f;
    --text:#444444;
    --bg:#F8F7FC;
    --border:#E9E9E9;
    --radius:14px;
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --transition:.3s ease;
}

/* ===============================
   RESET
================================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text);
    font-size:15px;
    line-height:1.7;
}

/* ===============================
   GLOBAL
================================= */
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}

h1,h2,h3,h4,h5{
    color:var(--black);
    font-weight:700;
}

.container{
    max-width:1250px;
}

section{
    padding:70px 0;
}

/* ===============================
   BUTTON
================================= */
.btn-primary{
    background:var(--primary);
    border:none;
    border-radius:10px;
    padding:12px 24px;
    transition:var(--transition);
}

.btn-primary:hover{
    background:var(--primary-dark);
}

/* ===============================
   NAVBAR
================================= */
.navbar{
    padding:15px 0;
    background:#fff !important;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.navbar-brand{
    font-size:28px;
    font-weight:700;
}

.nav-link{
    font-weight:500;
    color:#444 !important;
    margin-left:12px;
}

.nav-link:hover{
    color:var(--primary) !important;
}

/* ===============================
   HERO
================================= */
.hero{
    padding: 70px 0;
    background: linear-gradient(135deg, #f8fff9, #eefbf3);
    color: #1f1f1f;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
}
/* ===============================
   CATEGORIES
================================= */
.category-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#fff;
    padding:20px;
    border-radius:16px;
    text-align:center;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    transition:0.3s;
    height:100%;
}

.category-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,0.15);
}

.category-card img{
    width:70px;
    height:70px;
    object-fit:contain;
    margin-bottom:10px;
}

/* ===============================
   LOCATIONS (AIRBNB STYLE)
================================= */
.loc-card{
    position:relative;
    display:block;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.loc-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s;
}

.loc-card:hover img{
    transform:scale(1.05);
}

.loc-card.big{height:420px;}
.loc-card.small{height:200px;}

.loc-card .overlay{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:14px;
    background:linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color:#fff;
}

/* ===============================
   FEATURED CARDS
================================= */
.restaurant-card{
    border:none;
    border-radius:16px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:0.3s;
}

.restaurant-card:hover{
    transform:translateY(-5px);
}

/* ===============================
   UTILITIES
================================= */
.text-purple{color:var(--primary);}
.bg-purple{background:var(--primary);}

/* ===============================
   RESPONSIVE
================================= */
@media(max-width:991px){

.hero-title{
    font-size:38px;
}

.hero-search{
    flex-direction:column;
}

.hero-search button{
    width:100%;
}

.loc-card.big{
    height:250px;
}

.loc-card.small{
    height:180px;
}

}
.location-card{
display:block;
background:#fff;
border-radius:16px;
padding:25px;
text-align:center;
text-decoration:none;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
color:#222;
height:100%;
}

.location-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(0,0,0,.12);
color:#0d6efd;
}

.location-icon{
font-size:34px;
margin-bottom:12px;
}

.location-card h5{
font-weight:700;
margin-bottom:8px;
}

.location-card small{
color:#777;
}
.restaurant-card{
border:none;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.35s;
}

.restaurant-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.restaurant-card img{
transition:.4s;
}

.restaurant-card:hover img{
transform:scale(1.05);
}
.restaurant-card{
border:0;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.35s;
}

.restaurant-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.restaurant-card img{
transition:.4s;
}

.restaurant-card:hover img{
transform:scale(1.05);
}

.restaurant-card .btn{
border-radius:10px;
font-weight:600;
}
:root {

    /* Primary Brand */
    --primary: #6f42c1;
    --primary-dark: #5a32a3;

    /* UI Colors */
    --bg-light: #f8f7ff;
    --card-bg: #ffffff;

    /* Text */
    --text-dark: #1f1f1f;
    --text-muted: #6c757d;

    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
}
.section {
    padding: 70px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-weight: 700;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-muted);
}
.food-card {
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.food-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.4s;
}

.food-card:hover img {
    transform: scale(1.05);
}
.badge-soft {
    background: rgba(111, 66, 193, 0.1);
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 12px;
}

.badge-featured {
    background: #ffc107;
    color: #000;
    border-radius: 50px;
    padding: 6px 10px;
    font-size: 12px;
}
.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-sm);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}
.hover-lift {
    transition: 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}
.bg-soft-purple {
    background: linear-gradient(180deg, #f8f7ff, #ffffff);
}

.bg-alt {
    background: #faf9ff;
}
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary);
}
.why-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

.why-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.why-box .icon {
    font-size: 30px;
}
.section {
    padding: 80px 0;
}
.section-light {
    background: #f7f5ff;
}

.section-white {
    background: #ffffff;
}
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}
.hero{
    padding: 70px 0;
    background: #f8fff9;
    color: #1f1f1f;
    overflow: hidden;
}

.hero-badge{
    display:inline-block;
    background:#e8f5ea;
    color:#16a34a;
    padding:6px 14px;
    border-radius:50px;
    font-size:13px;
    margin-bottom:12px;
}

.hero-title{
    font-size:48px;
    font-weight:800;
    line-height:1.2;
    color:#1f1f1f;
}

.hero-text{
    font-size:16px;
    color:#555;
    margin-bottom:25px;
}

.hero-buttons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.hero-search{
    display:flex;
    background:#fff;
    border-radius:50px;
    overflow:hidden;
    max-width:450px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.hero-search input{
    flex:1;
    border:none;
    padding:14px 18px;
    outline:none;
}

.hero-search button{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:0 20px;
}

.hero-categories{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:15px;
}

.hero-categories a{
    background:#fff;
    border:1px solid #d1fae5;
    padding:10px 14px;
    border-radius:30px;
    color:#16a34a;
    text-decoration:none;
    font-size:13px;
}

.hero-stats{
    display:flex;
    gap:12px;
    margin-top:25px;
    flex-wrap:wrap;
}

.stat-box{
    background:#fff;
    padding:14px;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
    text-align:center;
    min-width:100px;
}

.stat-box strong{
    display:block;
    font-size:22px;
    color:#16a34a;
}

.stat-box span{
    font-size:12px;
    color:#666;
}

.hero-image{
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}
body{
    background: #f6f7fb;
}

.listing-container{
    max-width: 900px;
    margin: auto;
}

.listing-img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-box{
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-top: 20px;
    padding: 20px;
    background: #fff;
}

.badge-custom{
    background: #ff3b5c;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
}
/* Premium Category Pills */

.category-pills{

display:flex;

justify-content:center;

flex-wrap:wrap;

gap:15px;

}

.category-pill{

padding:14px 26px;

background:#fff;

border:1px solid #dfe8df;

border-radius:50px;

font-weight:600;

color:#06663A;

text-decoration:none;

transition:.3s;

box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.category-pill span{

font-weight:400;

opacity:.7;

margin-left:6px;

}

.category-pill:hover{

background:#0F8A4B;

color:#fff;

transform:translateY(-3px);

box-shadow:0 12px 25px rgba(15,138,75,.25);

}
/* ===============================
MOBILE HERO FIX
================================= */

@media (max-width:768px){

.hero{
    padding:50px 0;
    text-align:center;
}

.hero-title{
    font-size:32px;
    line-height:1.3;
}

.hero-text{
    font-size:15px;
    padding:0 10px;
}

.hero-buttons{
    flex-direction:column;
    gap:12px;
}

.hero-buttons a{
    width:100%;
}

.hero-search{
    max-width:100%;
    margin:20px 0;
}

.hero-search input{
    font-size:14px;
    padding:12px 15px;
}

.hero-search button{
    padding:0 18px;
}

.hero-categories{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.hero-categories a{
    padding:10px 16px;
    font-size:13px;
    white-space:nowrap;
}

.hero-stats{
    justify-content:center;
    gap:12px;
}

.stat-box{
    min-width:90px;
    flex:1 1 90px;
}

.hero-image{
    margin-top:35px;
    max-width:90%;
    margin-left:auto;
    margin-right:auto;
}

}
/* ===============================
   MOBILE CATEGORY GRID
================================ */

.category-pills{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
}

.category-pill{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:14px 12px;
    background:#fff;
    border:1px solid #dfe8df;
    border-radius:50px;
    font-weight:600;
    color:#06663A;
    text-decoration:none;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
    font-size:15px;
}

.category-pill span{
    display:none;
}

.category-pill:hover{
    background:#0F8A4B;
    color:#fff;
    transform:translateY(-3px);
}

/* Tablet */

@media(max-width:991px){

    .category-pills{
        grid-template-columns:repeat(4,1fr);
    }

}

/* Mobile */

@media(max-width:768px){

    .category-pills{
        grid-template-columns:repeat(3,1fr);
        gap:10px;
    }

    .category-pill{
        font-size:13px;
        padding:12px 8px;
        border-radius:16px;
    }

}

/* Small Mobile */

@media(max-width:480px){

    .category-pills{
        grid-template-columns:repeat(3,1fr);
    }

    .category-pill{
        font-size:12px;
        padding:10px 6px;
    }

}