/* assets/css/premium.css - Premium Design System */

:root {
    /* Modern Color Palette */
    --primary-color: #0f172a; /* Slate 900 */
    --primary-light: #1e293b; /* Slate 800 */
    --accent-color: #3b82f6; /* Blue 500 */
    --accent-hover: #2563eb; /* Blue 600 */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --bg-body: #f8fafc; /* Slate 50 */
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    letter-spacing: -0.025em;
    color: var(--primary-color);
}

/* Premium Navbar */
.nav {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
}

/* Modern Hero Section */
.hero {
    min-height: 500px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin-bottom: 4rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-color); /* Fallback */
}

.hero-overlay {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(4px);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Premium Buttons */
.btn {
    border-radius: 9999px; /* Pill shape */
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
    text-transform: none;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Category Cards - Glassmorphism */
.category-section {
    background: transparent;
    padding: 2rem 0 4rem;
}

.category-tile {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-tile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-tile-image img {
    transition: transform 0.6s ease;
}

.category-tile:hover .category-tile-image img {
    transform: scale(1.1);
}

.category-tile-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
    text-align: left;
}

.category-tile-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-tile-content .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Product Cards - Clean & Minimal */
.product-card {
    border: none;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: #f1f5f9;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.product-card-price {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.product-card-actions {
    margin-top: 1rem;
}

.product-card-actions .btn {
    width: 100%;
    border-radius: 0.5rem;
}

/* Footer - Dark Theme */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding-top: 5rem;
    margin-top: 4rem;
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4rem;
    padding: 2rem 0;
    color: #64748b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}
