@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { font-family: 'Inter', sans-serif; }

body {
    background: #f4f7fc;
}

/* ===== Navbar ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #0d47a1 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.navbar-brand { font-weight: 800; font-size: 1.8rem; letter-spacing: -1px; }
.navbar-brand i { color: #ffd700; }

/* ===== Hero ===== */
.bg-gradient-hero {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* ===== Product Cards ===== */
.product-card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.35s cubic-bezier(0.15, 0.75, 0.45, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px rgba(13, 71, 161, 0.15);
}
.card-img-top-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8faff;
}
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.4);
    border: none;
}
.card-body {
    padding: 1.5rem 1rem;
}

/* ===== Buttons ===== */
.btn-gradient-primary {
    background: linear-gradient(135deg, #1e3c72, #0d47a1);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 0;
    font-weight: 600;
    transition: 0.3s;
}
.btn-gradient-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
    color: #fff;
}
.btn-secondary {
    background: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 50px;
    font-weight: 600;
}

/* ===== Admin Panel ===== */
.table thead {
    background: #1e3c72;
    color: #fff;
}
.card-header {
    background: transparent;
    border-bottom: 2px solid #eef2f7;
    font-weight: 700;
}

/* ===== Animation ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.product-card { animation: fadeUp 0.6s ease forwards; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }