/* Cedar & Salt - restaurant site styles. */

:root {
  --ink: #23291f;
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --rust: #b5502e;
  --sage: #6f7d5c;
  --line: #e3dccd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #4c4838;
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: 2.6rem; margin: 0 0 .5rem; }
h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.6rem 0 .5rem; }

a { color: var(--rust); }
a:focus, button:focus, input:focus, textarea:focus, select:focus,
.btn:focus, [tabindex]:focus { outline: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line);
  max-width: 1040px; margin: 0 auto;
}
.brand img { height: 34px; display: block; }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; letter-spacing: .02em; }
.nav a:hover { color: var(--rust); }

/* Hero */
.hero {
  position: relative; min-height: 460px;
  display: flex; align-items: flex-end;
  background: linear-gradient(120deg, #7d8a68, #3f4a34);
  color: #eef0e6;
}
.hero .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem;
  color: #c9cfba;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #dfe3d4; max-width: 42ch; font-size: 1.15rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--rust); color: #fff;
  padding: .8rem 1.6rem; border-radius: 2px; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; margin-top: 1.2rem;
}
.btn.ghost { background: transparent; border: 1px solid #cdd3bf; color: #eef0e6; }

/* Sections */
section { padding: 1rem 0; }
.lede { font-size: 1.2rem; color: #55503f; max-width: 60ch; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2rem 0; }
.card-label { font-weight: 700; color: var(--ink); font-size: 1.15rem; font-family: Georgia, serif; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.5rem 0; }
.gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }

/* Forms */
form { max-width: 560px; margin: 1.5rem 0; }
.field { margin-bottom: 1.2rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .7rem .8rem; font-size: 1rem;
  border: 1px solid #cfc9ba; border-radius: 2px; background: #fff; color: var(--ink);
}
.field.required input, .field.required textarea { border-color: var(--rust); }
.req-note { color: var(--rust); }

/* Menu image wrapper */
.menu-image { text-align: center; margin: 2rem 0; }
.menu-image img { max-width: 100%; border: 1px solid var(--line); }

/* Footer */
.site-foot {
  margin-top: 4rem; border-top: 1px solid var(--line);
  padding: 2rem 1.5rem; color: #8f8a7e; font-size: .9rem;
}
.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.social a { margin-right: .8rem; }
.demo-note { font-size: .8rem; color: #a49e90; margin-top: 1rem; }

@media (max-width: 720px) {
  .cols, .gallery { grid-template-columns: 1fr; }
  .site-head { flex-direction: column; gap: .8rem; }
  h1 { font-size: 2rem; }
}
