:root {
    --bg-cream: #f9f5f0;
    --brown-dark: #2c1810;
    --brown-med: #5d4037;
    --brown-light: #8d6e63;
    --accent-gold: #c5a059;
    --text-main: #3e2723;
    --text-muted: #795548;

    --font-head: 'Crimson Text', serif;
    --font-body: 'DM Sans', sans-serif;
}

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

body {
    background-color: var(--bg-cream);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Subtle grain texture overlay */
.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
}

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

/* Navbar */
.navbar {
    padding: 2rem 0;
    background: transparent;
}

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

.logo {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brown-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

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

.btn-order {
    background-color: var(--brown-dark);
    color: var(--bg-cream);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-order:hover {
    background-color: var(--brown-med);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--brown-dark);
    margin-bottom: 1.5rem;
}

h1 em {
    font-style: italic;
    color: var(--accent-gold);
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #b08d4b;
    transform: translateY(-2px);
}

.btn-text {
    color: var(--brown-dark);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.btn-text:hover {
    gap: 0.75rem;
}

/* Coffee Cup Art */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 400px;
    height: 400px;
    background-color: #e6ded5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.coffee-cup-art {
    position: relative;
    transform: scale(1.2);
}

.cup-body {
    width: 140px;
    height: 110px;
    background: white;
    border-radius: 0 0 70px 70px;
    position: relative;
    z-index: 2;
    box-shadow: inset -10px 0 20px rgba(0, 0, 0, 0.05);
    border: 8px solid white;
}

.coffee-liquid {
    width: 100%;
    height: 100%;
    background: #3e2723;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    position: relative;
}

.latte-art {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(8px);
    opacity: 0.8;
}

.cup-handle {
    width: 40px;
    height: 50px;
    border: 8px solid white;
    border-radius: 0 20px 20px 0;
    position: absolute;
    top: 20px;
    right: -38px;
    z-index: 1;
}

.saucer {
    width: 200px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.steam {
    width: 8px;
    height: 30px;
    background: white;
    border-radius: 4px;
    position: absolute;
    top: -50px;
    opacity: 0;
    animation: steam 3s infinite;
}

.s1 {
    left: 40px;
    animation-delay: 0s;
}

.s2 {
    left: 70px;
    animation-delay: 1s;
}

.s3 {
    left: 100px;
    animation-delay: 2s;
}

@keyframes steam {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    left: 0;
    background: white;
    padding: 1rem 1.5rem;
    box-shadow: 0 15px 30px rgba(44, 24, 16, 0.1);
    border-radius: 8px;
    animation: float 4s ease-in-out infinite;
}

.floating-badge span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brown-dark);
}

.floating-badge .stars {
    color: var(--accent-gold);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Features */
.section {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    transform: rotate(45deg);
}

.icon-box i {
    transform: rotate(-45deg);
}

.feature-item h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--brown-dark);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Menu Section */
.menu {
    background-color: white;
}

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

.section-header h2 {
    font-family: var(--font-head);
    font-size: 3rem;
    color: var(--brown-dark);
    margin: 0.5rem 0 1.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

.menu-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.menu-category h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--brown-med);
    margin-bottom: 2rem;
    text-align: center;
}

.menu-list {
    list-style: none;
}

.menu-item {
    margin-bottom: 2rem;
}

.item-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.item-name {
    font-weight: 700;
    color: var(--brown-dark);
    font-size: 1.1rem;
}

.item-line {
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 1rem;
}

.item-price {
    font-weight: 700;
    color: var(--accent-gold);
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.menu-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--brown-dark);
    color: var(--brown-dark);
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--brown-dark);
    color: white;
}

/* Quote */
.quote-section {
    background-color: var(--brown-dark);
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}

blockquote {
    font-family: var(--font-head);
    font-size: 2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

cite {
    font-family: var(--font-body);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

/* Location */
.location-card {
    background: white;
    padding: 1rem;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.location-info {
    flex: 1;
    padding: 4rem;
}

.location-info h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.address {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hours {
    margin-bottom: 2.5rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
    max-width: 300px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.btn-dark {
    display: inline-block;
    background-color: var(--text-main);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
}

.location-map {
    flex: 1;
    background-color: #f0ebe5;
    position: relative;
    min-height: 400px;
}

.map-art {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.map-street {
    background-color: white;
    position: absolute;
}

.s-v {
    width: 20px;
    height: 100%;
    left: 60%;
}

.s-h {
    height: 20px;
    width: 100%;
    top: 40%;
}

.map-pin {
    position: absolute;
    top: 35%;
    left: 58%;
    font-size: 2rem;
    color: var(--brown-dark);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.logo-sm {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--brown-dark);
    text-decoration: none;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-col a {
    color: var(--text-main);
    text-decoration: none;
}

/* Mobile */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .menu-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-card {
        flex-direction: column-reverse;
    }

    .location-info {
        padding: 2rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}