:root {
    --green: #173b30;
    --deep-green: #102b23;
    --gold: #c9a66b;
    --cream: #f7f4ec;
    --white: #ffffff;
    --text: #26352e;
    --muted: #777d75;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

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

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.header {
    min-height: 85px;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--deep-green);
    color: var(--cream);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span,
h1 span,
h2 span {
    color: var(--gold);
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    font-size: 13px;
    transition: color 0.3s;
}

nav a:hover,
.text-link:hover {
    color: var(--gold);
}

.header-button,
.button {
    display: inline-block;
    background: var(--gold);
    color: var(--deep-green);
    padding: 13px 23px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--gold);
    transition: 0.3s;
}

.header-button:hover,
.button:hover {
    background: transparent;
    color: var(--gold);
}

.hero {
    min-height: 650px;
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
    background: var(--green);
    color: var(--cream);
}

.hero-content {
    max-width: 560px;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content > p:not(.eyebrow) {
    color: #d5ddd6;
    max-width: 470px;
    margin-bottom: 30px;
}

.hero-image img {
    height: 480px;
    border-radius: 3px;
    box-shadow: 18px 18px 0 var(--gold);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.text-link {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.about {
    padding: 110px 9%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
}

.about-image img {
    height: 470px;
    border-radius: 3px;
}

.about-content h2,
.menu h2,
.gallery h2,
.contact h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 22px;
}

.about-content > p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 460px;
}

.menu {
    padding: 100px 8%;
    background: #eeeae0;
    text-align: center;
}

.section-description {
    color: var(--muted);
    margin: -5px auto 45px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.menu-card {
    background: var(--white);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px #173b301a;
}

.menu-card img {
    height: 230px;
    transition: transform 0.5s;
}

.menu-card:hover img {
    transform: scale(1.04);
}

.menu-info {
    padding: 23px;
    position: relative;
}

.menu-info h3 {
    font-size: 21px;
    margin-bottom: 9px;
}

.menu-info p {
    font-size: 13px;
    color: var(--muted);
    min-height: 48px;
}

.menu-info span {
    display: inline-block;
    margin-top: 14px;
    color: var(--green);
    font-weight: 700;
}

.demo-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 28px;
}

.gallery {
    padding: 100px 8%;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    height: 300px;
    transition: transform 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.025);
}

.contact {
    padding: 100px 20px;
    text-align: center;
    background: var(--deep-green);
    color: var(--cream);
}

.contact > p:not(.eyebrow, .demo-note) {
    color: #d5ddd6;
    margin-bottom: 25px;
}

form {
    max-width: 530px;
    margin: 35px auto 0;
    display: grid;
    gap: 12px;
    text-align: left;
}

label {
    font-size: 13px;
    color: var(--cream);
}

input,
textarea {
    width: 100%;
    padding: 15px;
    font: inherit;
    font-size: 14px;
    border: 1px solid #ffffff35;
    background: #ffffff0d;
    color: white;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

form button {
    cursor: pointer;
    margin-top: 10px;
}

#message {
    margin-top: 20px;
    color: var(--gold);
}

.contact .demo-note {
    color: #b8c3ba;
}

footer {
    padding: 35px 20px;
    background: #091d17;
    color: var(--cream);
    text-align: center;
}

footer p {
    font-size: 12px;
    color: #b8c3ba;
    margin-top: 10px;
}

@media (max-width: 950px) {
    .header {
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        gap: 35px;
    }

    .about {
        gap: 40px;
    }

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

@media (max-width: 650px) {
    .header {
        padding: 18px 5%;
        justify-content: center;
    }

    .header-button {
        display: none;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 75px 7%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-image img {
        height: 300px;
        box-shadow: 9px 9px 0 var(--gold);
    }

    .about {
        grid-template-columns: 1fr;
        padding: 75px 7%;
    }

    .about-image img {
        height: 300px;
    }

    .menu,
    .gallery {
        padding: 75px 6%;
    }

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

    .menu-card img {
        height: 240px;
    }

    .gallery-grid img {
        height: 260px;
    }

    .contact {
        padding: 75px 7%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
