  :root { --primary: #6b4226; --primary-dark: #3d2b1f; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: #fdf8f4; color: var(--primary-dark); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

nav { background: var(--primary); padding: 18px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px color-mix(in srgb, var(--primary) 30%, transparent); }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: #f9f0e6; font-size: 1.4rem; font-weight: 700; text-decoration: none; }
nav a { color: #f9f0e6; text-decoration: none; font-size: 0.9rem; opacity: 0.85; transition: opacity .2s; }
nav a:hover { opacity: 1; }
nav .nav-links { display: flex; gap: 24px; }

/* HERO */
.hero {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,200,120,.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(180,100,30,.15) 0%, transparent 50%),
        linear-gradient(160deg, color-mix(in srgb, var(--primary) 88%, transparent) 0%, rgba(139,94,60,.85) 50%, rgba(90,51,24,.9) 100%),
        url('https://loremflickr.com/1600/900/coffee,cafe?lock=4') center/cover no-repeat;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Polka dot pattern */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.1) 2px, transparent 2px);
    background-size: 36px 36px;
}
/* Large decorative circle top-right */
.hero::after {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,200,120,.1);
    border: 40px solid rgba(255,200,120,.08);
}
.coffee-cup { font-size: 3rem; margin-bottom: 20px; display: block; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; font-weight: 700; position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.hero p { font-size: 1.1rem; color: #f5ddc4; margin-top: 16px; line-height: 1.7; position: relative; z-index: 1; }
.btn { display: inline-block; margin-top: 28px; background: #fff; color: var(--primary); padding: 12px 32px; border-radius: 50px; font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: transform .2s, box-shadow .2s; position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

section { padding: 80px 0; }
h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.lead { color: #8b6a56; font-size: 0.95rem; margin-bottom: 40px; }

.menu { background: #fff; border-radius: 16px; margin: 0 20px; box-shadow: 0 8px 40px color-mix(in srgb, var(--primary) 10%, transparent); padding: 60px; }
.menu-list { list-style: none; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed #e8d5c4; }
.menu-list li:last-child { border-bottom: none; }
.menu-list .item-name { font-weight: 600; color: var(--primary-dark); }
.menu-list .item-desc { color: #8b6a56; font-size: 0.85rem; margin-top: 2px; }
.menu-list .item-price { color: var(--primary); font-weight: 700; white-space: nowrap; margin-left: 16px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.card { background: #fff8f4; border: 1px solid #e8d5c4; border-radius: 16px; padding: 28px; text-align: center; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px color-mix(in srgb, var(--primary) 12%, transparent); }
.card .icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: var(--primary); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.card p { color: #8b6a56; font-size: 0.85rem; }

#o-nas { position: relative; }
#o-nas::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 40px; background: #e8d5c4; }
#o-nas p { color: #5c4030; line-height: 1.9; font-size: 1.05rem; max-width: 650px; }

.contact { background: var(--primary); color: #fff; }
.contact h2 { color: #fde8c8; }
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 30px; }
.contact-row p { font-size: 0.95rem; opacity: 0.9; line-height: 1.6; }
.contact-row a { color: #fde8c8; text-decoration: none; font-weight: 600; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { background: rgba(255,255,255,.15); color: #fff; padding: 8px 20px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; transition: background .2s; }
.social-links a:hover { background: rgba(255,255,255,.3); }

/* O NAS PHOTO */
.o-nas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.o-nas-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 40px color-mix(in srgb, var(--primary) 18%, transparent); }
@media (max-width: 700px) { .o-nas-inner { grid-template-columns: 1fr; } }

.map { padding: 0; }
.map iframe { width:100%;height:420px;border:0;display:block;filter:grayscale(15%); }

footer { background: #4a2e18; padding: 24px 0; text-align: center; color: #c4967a; font-size: 0.85rem; }
footer strong { color: #fde8c8; }

/* ── Modern animations ────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero .container > * { animation: fadeUp .7s ease both; }
.hero .container > *:nth-child(1) { animation-delay: .05s; }
.hero .container > *:nth-child(2) { animation-delay: .15s; }
.hero .container > *:nth-child(3) { animation-delay: .25s; }
.hero .container > *:nth-child(4) { animation-delay: .35s; }
.hero .container > *:nth-child(5) { animation-delay: .45s; }

/* ── Typography quality ───────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* Playfair Display refinements */
h1, h2, h3 { letter-spacing: 0.01em; }

/* ── Mobile hamburger nav ─────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    border-radius: 6px;
    color: #f9f0e6;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.nav-toggle:hover { opacity: .75; }
.nav-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    nav .container { flex-wrap: wrap; }
    nav .nav-links {
        order: 9;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(128,128,128,.18);
        margin-top: 8px;
    }
    nav .nav-links.is-open { display: flex; }
    nav .nav-links a {
        padding: 11px 0;
        font-size: .95rem;
        letter-spacing: 0;
        text-transform: none;
        border-bottom: 1px solid rgba(128,128,128,.1);
        width: 100%;
        display: block;
    }
    nav .nav-links a:last-child { border-bottom: none; }
}
