:root {
    --primary-red: #b71c1c;
    --secondary-green: #2e7d32;
    --accent-gold: #fbc02d;
    --text-dark: #2d3436;
    --bg-light: #fdfcfb;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Navbar Tuning */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { color: var(--secondary-green); }

.nav-links { display: flex; list-style: none; }
.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links li a:hover { color: var(--primary-red); }

.cart-icon {
    position: relative;
    font-size: 1.3rem;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-red);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section Enhancement */
.hero {
    height: 85vh;
    background: url('https://reviewvilla.vn/wp-content/uploads/2024/05/nem-chua-thanh-hoa-4.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.sub-title {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    font-weight: 700;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 1.5rem 0;
    line-height: 1.2;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-btn { background: var(--primary-red); color: white; }
.primary-btn:hover { background: #8e1616; transform: scale(1.05); }

.secondary-btn { border: 2px solid white; color: white; }
.secondary-btn:hover { background: white; color: var(--primary-red); }

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 8%;
    background: white;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}

.feature-item {
    text-align: center;
    font-weight: 600;
}

.feature-item i {
    color: var(--secondary-green);
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Product Cards Refresh */
.products { padding: 5rem 8%; }
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #eee;
}

.product-card:hover { transform: translateY(-15px); }

.product-img { position: relative; height: 250px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.tag {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--secondary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-info { padding: 2rem; text-align: left; }
.product-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.product-info p { color: #666; font-size: 0.9rem; }

.price {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.price span { color: #999; font-size: 0.9rem; font-weight: 400; }

.add-to-cart {
    width: 100%;
    padding: 1rem;
    border: none;
    background: var(--text-dark);
    color: white;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover { background: var(--secondary-green); }

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 8% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid #333;
    padding-bottom: 3rem;
}

.footer-grid h4 { margin-bottom: 1.5rem; color: var(--accent-gold); }

.social-icons { display: flex; gap: 1rem; }
.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}
.social-icons a:hover { color: var(--accent-gold); }

.copyright {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .features { flex-direction: column; gap: 2rem; }
}