﻿body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    backdrop-filter: blur(10px);
}

.logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border-radius: 10px;
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border-radius: 12px;
    font-weight: 800;
    color: white;
    font-size: 1.25rem;
}

.brand-text {
    color: white;
    font-weight: 700;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #f59e0b !important;
}

/* ===== HERO SECTION ===== */
.hero-home {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-home::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-kicker {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    color: #f59e0b;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f59e0b;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== BUTTONS ===== */
.btn-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border: none;
    color: #fff;
    font-weight: 600;
}

.btn-gold:hover {
    opacity: 0.9;
    color: #fff;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #f59e0b;
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-card:hover .fs-1 {
    transform: scale(1.1);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card .product-thumb {
    overflow: hidden;
}

.product-card .product-thumb img {
    transition: transform 0.5s;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.25rem;
}

/* ===== HERO SECTION (Admin) ===== */
.hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
}

/* ===== GRADIENTS ===== */
.bg-gradient-primary {
    background: linear-gradient(90deg, #0d6efd, #20c997);
}

.text-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #f59e0b;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

/* ===== ADMIN NAV ===== */
.admin-nav-wrap {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.btn-admin-nav {
    background: rgba(255, 255, 255, 0.1);
    color: #1e293b;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
}

.btn-admin-nav:hover {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.btn-admin-nav.active {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    border-color: transparent;
}

/* ===== METRICS ===== */
.metric-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

/* ===== AUTH ===== */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ===== UTILITIES ===== */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thumb-small {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1055;
}

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

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-home h1 {
        font-size: 2rem;
    }
    
    .hero-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stat-value {
        font-size: 1.25rem;
    }
}

