/* ==========================================================
   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{
    background:linear-gradient(135deg,#6C2BD9,#8B5CF6);
    padding:90px 0;
    color:#fff;
}

.hero-title{
    font-size:56px;
    font-weight:700;
    line-height:1.2;
    color:#fff;
}

.hero-text{
    color:rgba(255,255,255,.9);
    font-size:18px;
    max-width:550px;
}

.hero-search{
    display:flex;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
}

.hero-search input{
    flex:1;
    border:none;
    padding:16px;
}

.hero-search button{
    background:var(--primary);
    color:#fff;
    border:none;
    padding:16px 25px;
}

/* ===============================
   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;
}

}