:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
    --accent-color: #ffe66d;
    --success-color: #2ecc71;
    --fresh-green: #00b894;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.05);
    --premium-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-color);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Premium Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

/* Mobile-First Floating Action Button for Cart? Or Mobile Bottom Nav? */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .mobile-bottom-nav a {
        color: var(--dark-color);
        text-decoration: none;
        font-size: 1.05rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
    }
    .mobile-bottom-nav a span {
        font-size: 0.65rem;
        margin-top: 4px;
    }
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 0 0 20px 20px;
    }
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
}

/* Card Styling */
.egg-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.egg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.egg-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.egg-card:hover img {
    transform: scale(1.1);
}

.freshness-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--fresh-green);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('https://images.unsplash.com/photo-1518562180175-34a163b1a9a6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 50px 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn-premium {
    background: var(--premium-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

/* Category Pills */
.category-pills {
    display: flex;
    overflow-x: auto;
    padding: 20px 0;
    gap: 15px;
    scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.pill {
    white-space: nowrap;
    padding: 10px 25px;
    background: white;
    border-radius: 50px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.pill.active, .pill:hover {
    background: var(--primary-color);
    color: white;
}

/* Navbar link — button-like hover and focus styles */
.navbar .nav-link {
    color: var(--dark-color);
    padding: 8px 14px;
    border-radius: 30px;
    transition: all 0.25s ease;
    font-weight: 600;
    margin: 0 6px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.06);
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: all 0.25s ease;
    z-index: -1;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px #5125ff14;
    background: var(--primary-color);
    border: 1px solid rgba(255,255,255,0.25);
}

/* Slightly larger padding on wide screens for a more button-like look */
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-item .nav-link {
        padding: 10px 18px;
    }
}

/* Admin floating icon (visible only to admins) */
.admin-fab {
    position: fixed;
    right: 20px;
    bottom: 40px; /* lowered position */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    z-index: 2100;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.95;
}
.admin-fab:hover {
    transform: translateY(-4px);
    opacity: 1;
}
.admin-fab i { font-size: 0.98rem; }

@media (max-width: 767px) {
    .admin-fab { display: none !important; }
}
