:root {
    --espresso: #2B1B12;
    --coffee: #8B5E3C;
    --cream: #F7EFE5;
    --cream-deep: #EAD8C2;
    --gold: #C89B5E;
    --white: #FFFFFF;
    --ink: #241711;
    --muted: #735F51;
    --shadow: 0 24px 70px rgba(43, 27, 18, 0.14);
    --radius: 22px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
    background: rgba(43, 27, 18, 0.94);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-image {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(200, 155, 94, 0.72);
    border-radius: 50%;
    object-fit: cover;
    background: var(--cream);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a {
    position: relative;
    opacity: 0.92;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 20px;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    color: var(--white);
    background: url("https://images.unsplash.com/photo-1509042239860-f550ce710b93?auto=format&fit=crop&w=1800&q=88") center/cover no-repeat;
    padding: calc(var(--header-height) + 70px) 0 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 27, 18, 0.86), rgba(43, 27, 18, 0.5), rgba(43, 27, 18, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 40px));
    margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    max-width: 760px;
    font-size: clamp(3.25rem, 8vw, 6.9rem);
}

h2 {
    color: var(--espresso);
    font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
    color: var(--espresso);
    font-size: 1.14rem;
}

.hero-copy {
    max-width: 620px;
    margin: 24px 0 34px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--espresso);
    background: var(--gold);
    box-shadow: 0 14px 34px rgba(200, 155, 94, 0.28);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.section {
    padding: 104px 0;
}

.about-grid,
.location-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img,
.map-card,
.contact-form {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hours-badge {
    position: absolute;
    right: -22px;
    bottom: 34px;
    width: min(260px, 78%);
    padding: 22px;
    border-radius: 18px;
    color: var(--white);
    background: var(--espresso);
    box-shadow: 0 18px 45px rgba(43, 27, 18, 0.24);
}

.hours-badge strong,
.hours-badge span {
    display: block;
}

.hours-badge span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.section-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.03rem;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.menu-section,
.gallery-section {
    background: var(--white);
}

.menu-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.menu-card,
.feature-card {
    overflow: hidden;
    border: 1px solid rgba(139, 94, 60, 0.14);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 50px rgba(43, 27, 18, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover,
.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.menu-card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.menu-card-body {
    min-height: 178px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
}

.menu-card-body p,
.feature-card p,
.map-card p,
.site-footer p,
.form-note {
    color: var(--muted);
}

.menu-card-body span {
    color: var(--coffee);
    font-weight: 800;
    font-size: 1.1rem;
}

.why-section {
    background: linear-gradient(180deg, var(--cream), var(--cream-deep));
}

.feature-card {
    padding: 30px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 18px;
    color: var(--espresso);
    background: rgba(200, 155, 94, 0.22);
    font-size: 1.45rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(43, 27, 18, 0.12);
}

.gallery-grid .tall {
    grid-row: span 2;
}

.gallery-grid .wide {
    grid-column: span 2;
}

.location-section h2 {
    max-width: 520px;
    font-size: clamp(2.4rem, 4.4vw, 4.75rem);
}

.address {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--espresso) !important;
}

.opening-hours {
    margin-top: 26px;
    padding: 24px;
    border-left: 4px solid var(--gold);
    border-radius: 0 18px 18px 0;
    background: rgba(255, 255, 255, 0.68);
}

.map-card {
    position: relative;
    min-height: 410px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 36px;
    text-align: center;
    color: var(--espresso);
    background:
        radial-gradient(circle at 70% 28%, rgba(200, 155, 94, 0.24), transparent 28%),
        linear-gradient(rgba(43, 27, 18, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 27, 18, 0.09) 1px, transparent 1px),
        linear-gradient(135deg, #f2dfc7, #fffaf3);
    background-size: auto, 42px 42px, 42px 42px, cover;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(43, 27, 18, 0.18);
}

.map-card-content {
    display: grid;
    justify-items: center;
    max-width: 360px;
}

.map-pin {
    position: relative;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50% 50% 50% 0;
    background: var(--coffee);
    transform: rotate(-45deg);
    box-shadow: 0 16px 34px rgba(139, 94, 60, 0.26);
}

.map-pin::after {
    content: "";
    position: absolute;
    inset: 17px;
    border-radius: 50%;
    background: var(--gold);
}

.map-card strong {
    color: var(--coffee);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.map-card em {
    display: inline-flex;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--white);
    background: var(--espresso);
    font-style: normal;
    font-weight: 800;
}

.contact-section {
    background: var(--espresso);
}

.contact-section h2,
.contact-section .section-copy p:not(.eyebrow) {
    color: var(--white);
}

.contact-details {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    color: var(--gold);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 12px;
    padding: 32px;
    background: var(--white);
}

.contact-form label {
    color: var(--espresso);
    font-weight: 800;
    font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(139, 94, 60, 0.2);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--ink);
    background: #FFFCF8;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(200, 155, 94, 0.18);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 6px;
}

.form-note {
    margin: 0;
    font-size: 0.88rem;
    text-align: center;
}

.site-footer {
    padding: 44px 0 24px;
    color: var(--white);
    background: #1D120D;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-logo {
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--gold);
    font-weight: 900;
    transition: background 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    color: var(--espresso);
    background: var(--gold);
}

.copyright {
    margin: 26px 0 0;
    text-align: center;
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--header-height);
        right: 16px;
        left: 16px;
        display: grid;
        gap: 0;
        padding: 12px;
        border-radius: 20px;
        background: rgba(43, 27, 18, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px;
        border-radius: 14px;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-menu a::after {
        display: none;
    }

    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-media {
        max-width: 620px;
    }

    .menu-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    :root {
        --header-height: 70px;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .navbar {
        width: calc(100% - 24px);
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: 88vh;
        padding-bottom: 70px;
    }

    .hero-content {
        width: calc(100% - 28px);
        margin: 0 auto;
    }

    h1 {
        font-size: 3.1rem;
    }

    .section {
        padding: 72px 0;
    }

    .hero-actions,
    .footer-grid {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hours-badge {
        right: 14px;
        bottom: 14px;
    }

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

    .gallery-grid {
        grid-auto-rows: 260px;
    }

    .gallery-grid .tall,
    .gallery-grid .wide {
        grid-row: auto;
        grid-column: auto;
    }

    .contact-form {
        padding: 24px;
    }
}
