
/* =====================================
   SAFFRON & STONE — PREMIUM DESIGN
===================================== */

:root {
    --dark: #151912;
    --olive: #62694d;
    --gold: #c7a66b;
    --cream: #f5f2eb;
    --white: #ffffff;
    --muted: #77786e;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: var(--sans);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, select {
    font: inherit;
}

.announcement {
    background: var(--olive);
    color: white;
    text-align: center;
    padding: 9px;
    font-size: 10px;
    letter-spacing: 3px;
}

/* NAVIGATION */

.header {
    height: 85px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ddd9ce;
}

.logo {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span, .footer span {
    color: var(--gold);
}

.logo small {
    display: block;
    font-size: 8px;
    letter-spacing: 4px;
    color: var(--muted);
}

.header nav {
    display: flex;
    gap: 25px;
}

.header nav a {
    font-size: 11px;
    transition: .3s;
}

.header nav a:hover {
    color: var(--gold);
}

.header-button {
    background: var(--olive);
    color: white;
    padding: 13px 19px;
    font-size: 10px;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    min-height: 690px;
    height: 85vh;
    max-height: 850px;
    background:
      linear-gradient(90deg, #10150edb, #10150e66, #10150e15),
      url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2000&q=90")
      center/cover;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    padding-left: 11%;
    max-width: 750px;
    animation: fadeUp 1s ease;
}

.eyebrow {
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 23px;
}

.hero .eyebrow {
    color: var(--gold);
}

.hero h1 {
    font: 500 clamp(48px, 6vw, 83px)/1.08 var(--serif);
    letter-spacing: -2px;
}

.hero h1 em {
    color: var(--gold);
}

.hero-description {
    color: #e1e1d9;
    max-width: 430px;
    margin: 25px 0 35px;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.primary-button {
    display: inline-block;
    background: var(--olive);
    border: 1px solid var(--olive);
    color: white;
    padding: 15px 22px;
    font-size: 10px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: .3s;
}

.primary-button:hover {
    background: #414a32;
    transform: translateY(-3px);
}

.secondary-button {
    color: white;
    font-size: 10px;
    letter-spacing: 1px;
}

.hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 7%;
    right: 7%;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 2px;
    color: #ddd;
}

/* GENERAL SECTIONS */

.section {
    padding: 110px 10%;
}

.section h2 {
    font: 500 clamp(40px, 5vw, 65px)/1.15 var(--serif);
    margin-bottom: 25px;
}

.section h2 em {
    color: var(--olive);
}

.section > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 600px;
    font-size: 13px;
}

/* STORY */

.story {
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

.story > p:last-child {
    margin: auto;
}

/* MENU */

.menu-section {
    background: #eae6dc;
}

.menu-controls {
    margin: 35px 0;
}

#menuSearch {
    width: 100%;
    max-width: 400px;
    padding: 14px;
    background: transparent;
    border: 1px solid #c6c2b7;
    outline: none;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.categories button {
    background: transparent;
    border: 1px solid #b9b7a9;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 10px;
    transition: .3s;
}

.categories button:hover,
.categories button.active {
    background: var(--olive);
    color: white;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.food-card {
    background: var(--cream);
    transition: .3s;
}

.food-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px #00000012;
}

.food-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.food-info {
    padding: 20px;
}

.food-info h3 {
    font: 22px var(--serif);
}

.food-info p {
    color: var(--muted);
    font-size: 11px;
    margin: 10px 0;
}

.food-price {
    color: var(--olive);
    font-weight: 700;
    font-size: 12px;
}

.add-cart {
    display: block;
    margin-top: 15px;
    background: var(--olive);
    color: white;
    border: 0;
    padding: 11px;
    width: 100%;
    cursor: pointer;
    font-size: 10px;
}

/* EXPERIENCE */

.experience {
    background:
      linear-gradient(#11150ecb, #11150ecb),
      url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1600&q=85")
      center/cover;
    color: white;
    padding-top: 150px;
    padding-bottom: 150px;
}

.experience h2 {
    color: white;
}

.experience > p:last-child {
    color: #ddd !important;
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .4s;
}

.gallery-grid img:hover {
    transform: scale(1.025);
}

/* RESERVATIONS */

.reservation {
    background: #e9e4d9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.reservation form {
    background: var(--cream);
    padding: 35px;
}

.reservation label {
    display: block;
    font-size: 10px;
    margin: 15px 0 5px;
    color: var(--muted);
}

.reservation input,
.reservation select {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #c9c5b9;
    outline: none;
}

.reservation input:focus,
.reservation select:focus {
    border-color: var(--olive);
}

.reservation form button {
    margin-top: 25px;
    width: 100%;
}

/* CONTACT */

.contact {
    text-align: center;
}

.contact > p:not(.eyebrow) {
    margin: 10px auto;
}

/* FOOTER */

.footer {
    background: var(--dark);
    color: white;
    padding: 65px 10% 30px;
    text-align: center;
}

.footer h2 {
    font: 30px var(--serif);
    letter-spacing: 3px;
}

.footer p {
    color: #aaa;
    font-size: 11px;
    margin: 15px;
}

/* CART */

.cart-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--olive);
    color: white;
    border: 0;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 150;
}

.cart-panel {
    position: fixed;
    right: -450px;
    top: 0;
    height: 100vh;
    width: min(400px, 100%);
    background: var(--cream);
    padding: 30px;
    z-index: 200;
    box-shadow: 0 0 40px #0002;
    transition: .35s;
    overflow-y: auto;
}

.cart-panel.open {
    right: 0;
}

.cart-panel h2 {
    font: 30px var(--serif);
    margin: 25px 0;
}

.cart-panel button {
    cursor: pointer;
}

/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */

@media(max-width: 900px) {
    .header {
        padding: 0 4%;
    }

    .header nav {
        gap: 12px;
    }

    .header nav a {
        font-size: 9px;
    }

    .food-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 80px 7%;
    }
}

@media(max-width: 650px) {
    .header {
        height: 70px;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: 0;
        font-size: 23px;
        cursor: pointer;
    }

    .header nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--cream);
        padding: 25px;
        flex-direction: column;
    }

    .header nav.open {
        display: flex;
    }

    .header-button {
        display: none;
    }

    .hero {
        min-height: 650px;
        height: 80vh;
    }

    .hero-content {
        padding: 0 7%;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-bottom {
        font-size: 6px;
    }

    .hero-bottom span:nth-child(2) {
        display: none;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

    .reservation {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img {
        height: 180px;
    }

    .section {
        padding: 70px 7%;
    }
}
