/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red: #C62828;
    --red-dark: #8E0000;
    --yellow: #F9A825;
    --yellow-light: #FFF8E1;
    --green: #2E7D32;
    --dark: #1a1a1a;
    --gray: #555;
    --light-gray: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 12px rgba(0,0,0,0.1);
    --radius: 12px;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow);
    transition: background 0.3s;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.4rem; font-weight: 700; color: var(--red); }
.logo-icon { font-size: 1.8rem; }
.logo-text { font-family: 'Playfair Display', serif; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-weight: 600; color: var(--dark); transition: color 0.2s; padding: 0.5rem 0; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.cart-btn {
    background: var(--red); color: var(--white) !important; padding: 0.5rem 1rem !important;
    border-radius: 25px; font-size: 0.9rem;
}
.cart-btn:hover { background: var(--red-dark); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
    display: block; width: 25px; height: 3px; background: var(--dark);
    margin: 5px 0; border-radius: 3px; transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 85vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    margin-top: 70px;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
}
.hero-content { position: relative; z-index: 1; text-align: center; color: var(--white); padding: 2rem 0; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.9; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    color: var(--white); text-align: center; padding: 6rem 0 3rem; margin-top: 70px;
}
.page-header h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-header p { opacity: 0.9; font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 30px;
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s;
}
.btn-primary { background: var(--yellow); color: var(--dark); }
.btn-primary:hover { background: #e09100; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-secondary:hover { background: var(--red); color: var(--white); }
.btn-cart { background: var(--red); color: var(--white); padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-cart:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section-title {
    font-family: 'Playfair Display', serif; font-size: 2.2rem;
    text-align: center; margin-bottom: 2.5rem; color: var(--dark);
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--red); margin: 0.8rem auto 0;
}

/* ===== PRODUCT GRID ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.product-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.product-image {
    height: 220px; background: var(--light-gray) center/cover no-repeat;
    position: relative;
}
.badge {
    position: absolute; top: 1rem; left: 1rem; padding: 0.3rem 0.8rem;
    border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: var(--white);
}
.badge.bestseller { background: var(--red); }
.badge.popular { background: var(--green); }
.product-info { padding: 1.2rem; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.product-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--red); }

/* ===== FEATURES ===== */
.why-us { background: var(--yellow-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.feature-card {
    text-align: center; padding: 2rem; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; color: var(--red); }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== MENU FILTER ===== */
.menu-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn {
    padding: 0.5rem 1.2rem; border: 2px solid var(--red); border-radius: 25px;
    background: transparent; color: var(--red); font-weight: 600; cursor: pointer; transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: var(--red); color: var(--white); }

/* ===== ABOUT ===== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--red); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; color: var(--gray); }
.about-list { margin-top: 1rem; }
.about-list li { padding: 0.5rem 0; font-size: 1.05rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2, .contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--red); margin-bottom: 1.5rem;
}
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; }
.contact-item h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.contact-item p { color: var(--gray); font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    padding: 0.8rem; border: 2px solid #ddd; border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--red);
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--white); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-col h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-col p, .footer-col li { color: #aaa; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-col a { color: #aaa; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom { text-align: center; padding: 1.5rem 0; margin-top: 2rem; border-top: 1px solid #333; }
.footer-bottom p { color: #777; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 70px; left: 0; right: 0; background: var(--white);
        padding: 1rem; box-shadow: var(--shadow); gap: 0.5rem;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.8rem 1rem; }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .product-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .page-header { padding: 5rem 0 2rem; }
    .page-header h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .menu-filter { gap: 0.3rem; }
    .filter-btn { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
}
