* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
:root { --primary: #ff6b6b; --dark: #2d3436; --light: #ffffff; --gray: #f5f6fa; }
body { background: var(--gray); }
header { display: flex; justify-content: space-between; align-items: center; padding: 15px 50px; background: var(--light); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.logo { font-size: 22px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
nav ul { display: flex; list-style: none; gap: 25px; }
nav a { color: var(--dark); text-decoration: none; font-weight: 500; }
nav a.active { color: var(--primary); }
.cart { position: relative; font-size: 20px; }
.cart span { position: absolute; top: -8px; right: -8px; background: var(--primary); color: white; font-size: 12px; padding: 2px 6px; border-radius: 50%; }
.hero { height: 50vh; background: linear-gradient(rgba(255,107,107,0.85), rgba(255,107,107,0.7)), url('https://picsum.photos/1920/1080?random=10') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero h1 { font-size: 42px; color: white; margin-bottom: 10px; }
.hero p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.search-box { display: flex; background: white; padding: 8px; border-radius: 30px; }
.search-box input { flex: 1; padding: 12px 20px; border: none; border-radius: 25px; outline: none; }
.search-box button { background: var(--primary); color: white; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; }
main { padding: 40px 50px; }
.categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 40px; }
.cat-card { background: white; padding: 20px; border-radius: 15px; text-align: center; cursor: pointer; transition: all 0.3s; }
.cat-card:hover { background: var(--primary); color: white; transform: translateY(-5px); }
.cat-card i { font-size: 30px; color: var(--primary); margin-bottom: 10px; }
.cat-card:hover i { color: white; }
.restaurants h2, .popular h2 { font-size: 26px; margin-bottom: 25px; }
.rest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.rest-card { background: white; border-radius: 15px; overflow: hidden; transition: all 0.3s; }
.rest-card:hover { transform: translateY(-8px); }
.rest-card img { width: 100%; height: 150px; object-fit: cover; }
.rest-card { padding: 15px; }
.rest-card h3 { font-size: 16px; margin-bottom: 5px; }
.rest-card p { color: #666; font-size: 13px; margin-bottom: 8px; }
.rest-card .rating { color: #ffc107; font-weight: 600; }
.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.food-card { background: white; padding: 15px; border-radius: 15px; text-align: center; }
.food-card img { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 12px; object-fit: cover; }
.food-card h3 { font-size: 14px; margin-bottom: 5px; }
.food-card p { color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.food-card button { background: var(--primary); color: white; border: none; padding: 8px 20px; border-radius: 20px; cursor: pointer; }
footer { background: var(--dark); color: white; padding: 30px 50px; }
.footer-content { display: flex; justify-content: space-between; }
.footer-content h3 { color: var(--primary); margin-bottom: 8px; }
@media (max-width: 768px) { header { flex-direction: column; gap: 12px; padding: 12px; } .categories, .rest-grid, .food-grid { grid-template-columns: repeat(2, 1fr); } }