:root {
    /* Maillard / Autumn Palette */
    --espresso: #3E2723;       /* Deepest Brown */
    --cocoa: #5D4037;          /* Rich Brown */
    --caramel: #8D6E63;        /* Warm Medium Brown */
    --latte: #D7CCC8;          /* Light Beige */
    --cream: #EFEBE9;          /* Off-white */
    --gold: #C5A059;           /* Muted Gold Accent */
    --khaki: #A1887F;          /* Muted Earth Tone */
    
    /* Text Colors */
    --text-dark: #2D2420;
    --text-light: #F5F5F5;
    
    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--espresso);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
header {
    background-color: var(--espresso);
    color: var(--cream);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--latte);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    height: 90vh;
    background-image: linear-gradient(rgba(62, 39, 35, 0.4), rgba(62, 39, 35, 0.4)), url('https://images.unsplash.com/photo-1507608616759-54f48f0af0ee?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); /* Rainy window / moody coffee shop vibe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cream);
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 2rem;
    background: rgba(62, 39, 35, 0.6); /* Espresso overlay */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-size: 4rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: var(--latte);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--gold);
    color: var(--espresso);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--latte);
    color: var(--espresso);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--cream);
    color: var(--cream);
}

.btn-outline:hover {
    background: var(--cream);
    color: var(--espresso);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--caramel);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--espresso);
}

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

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    display: block;
    box-shadow: 20px 20px 0 var(--caramel);
}

/* Services */
.services-bg {
    background-color: var(--latte); /* Light background for contrast */
}

.service-card {
    background: var(--cream);
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    border-top: 4px solid var(--caramel);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--espresso);
    border-top-color: var(--gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card p {
    color: var(--text-dark);
    font-weight: 300;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-card:hover p {
    color: var(--latte);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--caramel);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: var(--cream);
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Contact */
.contact-section {
    background-color: var(--espresso);
    color: var(--latte);
}

.contact-box {
    border: 1px solid var(--caramel);
    padding: 3rem;
    text-align: center;
}

.contact-box h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.contact-box a {
    color: var(--cream);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--caramel);
    padding-bottom: 2px;
}

.contact-box a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Footer */
footer {
    background-color: #2D2420; /* Darker than espresso */
    color: #8D6E63;
    padding: 4rem 0 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    display: inline-block;
}

/* Mobile Nav */
.hamburger {
    display: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--espresso);
        padding: 2rem;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
