/* /assets/css/customer.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #ff4757;       /* Vibrant Red/Pink */
    --secondary: #2f3542;     /* Dark Grey */
    --accent: #ffa502;        /* Orange/Gold */
    --bg-light: #f1f2f6;      /* Soft Gray Background */
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
    --radius: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--secondary);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* === NAVBAR OVERRIDES === */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding-top: 15px;
    padding-bottom: 15px;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* === HERO SECTION === */
.hero-section {
    /* Modern Gradient Background */
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 100px 0 80px;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(255, 71, 87, 0.2);
}

/* Animated Circles in Hero Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
    100% { transform: translateY(0px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: var(--primary);
}

/* === CATEGORY HEADERS === */
.category-header {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    margin-top: 20px;
    color: var(--secondary);
    font-weight: 700;
}
.category-header::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 5px;
}

/* === FOOD CARDS === */
.card-food {
    border: none;
    border-radius: var(--radius);
    background: var(--card-bg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.card-food:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Image Zoom Effect */
.img-wrapper {
    overflow: hidden;
    height: 220px;
    position: relative;
}
.card-food img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-food:hover img {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 71, 87, 0.1);
    padding: 5px 12px;
    border-radius: 10px;
}

.btn-add-cart {
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 6px;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
}
.btn-add-cart:hover {
    background: var(--primary);
    transform: scale(1.02);
}
.btn-add-cart:active {
    transform: scale(0.95);
}

/* === SCROLL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 50px;
        border-radius: 0 0 30px 30px;
        text-align: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-section img {
        display: none; /* Hide hero image on small screens if added */
    }
    .card-food {
        margin-bottom: 20px;
    }
}