@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdfbf7;
    color: #333333;
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* 3D Floating Animation for Hero Image */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Food Card styling */
.food-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
}

.food-card-img {
    transform: translateZ(50px); /* Brings the image forward */
    transition: transform 0.3s ease;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.15));
}

.food-card:hover .food-card-img {
    transform: translateZ(70px) scale(1.08) rotate(-2deg);
}

.food-card-title {
    transform: translateZ(30px);
}

.food-card-price {
    transform: translateZ(20px);
}

.btn-primary {
    background: linear-gradient(135deg, #e63946 0%, #d90429 100%);
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.4);
}

.btn-secondary {
    background: white;
    color: #d90429;
    border: 2px solid #d90429;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff0f0;
    transform: translateY(-2px);
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}
.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: #ffe3c2;
    border-radius: 50%;
}
.blob-2 {
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #ffd0d0;
    border-radius: 50%;
}

.cart-badge {
    animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.animate-spin-slow {
    animation: spin 15s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
