:root {
    --bg-light: #fdfbf7;
    --bg-warm: #f4ede4;
    --text-dark: #2c251d;
    --text-muted: #5e5140;
    --accent: #b45c36; /* Warm terracotta */
    --accent-hover: #964522;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.bg-warm {
    background-color: var(--bg-warm);
}

.text-center {
    text-align: center;
}

/* Nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    color: var(--bg-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--bg-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Hero */
.header {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-color: #3b2f24;
    background: linear-gradient(rgba(44, 37, 29, 0.6), rgba(44, 37, 29, 0.7)), url('../../assets/bakery-hero.png') center/cover;
}

.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent, #2c251d);
    z-index: 0;
}

.hero {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-light);
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-light);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--bg-light);
    color: var(--bg-light);
}

.btn-outline:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* About */
.grill {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2, .menu h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.placeholder-img {
    background-color: #d1c5b4;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
    box-shadow: 10px 10px 0 var(--accent);
}

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.menu-item {
    background: var(--bg-light);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item-img {
    height: 150px;
    background-color: #e5dac9;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    width: 150px;
    margin: 0 auto 1.5rem auto;
}

.menu-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 4rem 0 2rem 0;
}

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

.footer h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer p {
    color: #a09486;
    margin-bottom: 0.5rem;
}

.back-link {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.back-link a {
    color: #a09486;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.fade-in { animation: fadeIn 1.5s ease forwards; }
.slide-up { animation: slideUp 1s ease forwards; animation-delay: 0.2s; opacity: 0; }

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .grill { grid-template-columns: 1fr; gap: 2rem; }
    .nav { align-items: center; justify-content: space-between; }
    .mobile-menu-btn { display: block !important; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(44, 37, 29, 0.95);
        flex-direction: column;
        padding: 2rem;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
}
