:root {
    --primary: #2563eb;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #f59e0b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-wrap: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Carousel */
.hero-carousel {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.carousel-caption h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Product Cards */
.container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.btn-add {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-add:hover {
    background: #1e40af;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h2 { font-size: 2rem; }
    .nav-links { display: none; }
}
