@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #e21b70;
    --primary-hover: #c21560;
    --bg-light: #f7f7f7;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1200');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 5%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.search-container {
    background: white;
    padding: 10px;
    border-radius: 50px;
    display: flex;
    width: 600px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-container input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    outline: none;
    font-size: 16px;
}

/* Cards */
.container {
    padding: 50px 8%;
}

.section-title {
    margin-bottom: 30px;
    font-size: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.restaurant-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.restaurant-card:hover {
    transform: translateY(-10px);
}

.restaurant-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info {
    padding: 20px;
}

.rating {
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

/* Glassmorphism Auth Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, var(--primary), #ff69b4);
    padding: 20px;
}

.auth-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 25px;
    width: 450px;
    max-width: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Sidebar Cart */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Tracking */
.tracking-container {
    max-width: 800px;
    margin: 50px auto;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step {
    text-align: center;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.step.active .step-circle {
    background: var(--primary);
}

/* Footer */
footer {
    background: #1e1e1e;
    color: white;
    padding: 50px 8%;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .search-container {
        width: 100%;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
