/* Alresford — The Sandwich Shop
   Palette pulled from the menu board: deep bottle green, cream, gold */

:root {
  --green-dark: #12261f;
  --green: #1b3a2e;
  --green-mid: #23483a;
  --cream: #fbf3e6;
  --cream-soft: #f6ead6;
  --gold: #c79a3e;
  --gold-light: #e0b95c;
  --ink: #201d16;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 38, 31, 0.12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  margin: 0 0 0.5em;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

a { color: inherit; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6em;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head p {
  color: #4b463a;
  margin-top: 0.6em;
}

section { padding: 4.5rem 0; }

.section-alt { background: var(--cream-soft); }

.divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 0.9rem auto 0;
  border: none;
}

.divider.left { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-outline:hover { background: rgba(251, 243, 230, 0.12); transform: translateY(-2px); }

.btn-outline-dark {
  border-color: var(--green);
  color: var(--green);
}
.btn-outline-dark:hover { background: var(--green); color: var(--cream); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 38, 31, 0.96);
  backdrop-filter: blur(6px);
  color: var(--cream);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
}

.brand-text .name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-text .tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}

.nav-links a:hover { opacity: 1; color: var(--gold-light); }

.nav-cta { display: flex; gap: 0.7rem; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
/* ── Brand banner ── */
.brand-banner {
  width: 100%;
  line-height: 0;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.brand-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 2rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(199,154,62,0.16), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(199,154,62,0.12), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-single {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.hero-single .hero-badges { justify-content: center; }
.hero-single .hero-actions { justify-content: center; }
.hero-single .est-strip { justify-content: center; }
.hero-single p.lead { margin-left: auto; margin-right: auto; }

.hero-badges {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.badge-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--gold-light);
  font-family: var(--serif);
  padding: 0.4rem;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 0.4rem;
}

.hero h1 span { color: var(--gold-light); }

.hero .subhead {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 1.4rem;
}

.hero p.lead {
  max-width: 46ch;
  color: #e7ddca;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(199,154,62,0.35);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.est-strip {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(251,243,230,0.14);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
}

/* Intro strip */
.intro {
  text-align: center;
  padding: 3.2rem 0;
}

.intro p {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--green-dark);
  max-width: 60ch;
  margin: 0 auto;
}

/* Menu */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.6rem;
}

.menu-tab {
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  padding: 0.55em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--green);
  color: var(--cream);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem clamp(1.2rem, 4vw, 2.4rem);
  margin-bottom: 1.6rem;
}

.menu-card h3 {
  font-size: 1.05rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #eadfc7;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.menu-table-head {
  display: grid;
  grid-template-columns: 1fr repeat(3, 70px);
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 700;
  padding-bottom: 0.4rem;
}
.menu-table-head span:not(:first-child) { text-align: right; }
.menu-table-head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.menu-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 70px);
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #ece2cc;
  align-items: baseline;
  font-size: 0.92rem;
}

.menu-row:last-child { border-bottom: none; }
.menu-row span:not(:first-child) { text-align: right; color: #4b463a; }
.menu-row span:first-child { font-weight: 500; }

.simple-list .menu-row {
  grid-template-columns: 1fr 90px;
}

.menu-note {
  font-size: 0.82rem;
  color: #6b6555;
  margin-top: 0.9rem;
  font-style: italic;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Deals */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.deal-card {
  background: var(--green-dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
}

.deal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% -10%, rgba(199,154,62,0.25), transparent 55%);
  pointer-events: none;
}

.deal-card .price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin: 0.3rem 0 0.6rem;
  position: relative;
}

.deal-card h4 { color: var(--cream); position: relative; }
.deal-card p { color: #d9cfba; font-size: 0.9rem; position: relative; margin: 0; }
.deal-card .tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--gold);
  padding: 0.2em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  position: relative;
}

/* Board / gallery */
.board-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #eadfc7;
}

/* Allergy */
.allergy-box {
  background: var(--green-dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.4rem clamp(1.4rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.8rem;
  align-items: center;
}

.allergy-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.allergy-box h3 { color: var(--cream); margin-bottom: 0.4rem; }
.allergy-box p { color: #d9cfba; margin: 0 0 0.3rem; font-size: 0.92rem; }

@media (max-width: 640px) {
  .allergy-box { grid-template-columns: 1fr; text-align: center; }
  .allergy-icon { margin: 0 auto; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eadfc7;
}

.info-list li:last-child { border-bottom: none; }

.info-list .ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.info-list strong { display: block; color: var(--green-dark); font-size: 0.95rem; }
.info-list span, .info-list p { color: #4b463a; font-size: 0.9rem; margin: 0.15em 0 0; }

.placeholder { color: #a99a6f; font-style: italic; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 300px;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 300px; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #c9c0ac;
  padding: 3rem 0 1.6rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(251,243,230,0.12);
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
}

.site-footer h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.site-footer p { font-size: 0.9rem; color: #b7ad97; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { text-decoration: none; color: #c9c0ac; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.65rem; font-size: 0.9rem; color: #b7ad97; line-height: 1.4; }
.footer-contact .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--green-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.75rem; margin-top: 0.05rem; }
.footer-contact a { color: #c9c0ac; text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }

.social-row { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(251,243,230,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.9rem;
}
.social-row a:hover { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }

.bottom-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: #8f8672;
}

.heart { color: var(--gold-light); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1.5rem 6%;
    gap: 1.2rem;
    border-top: 1px solid rgba(251,243,230,0.1);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

@media (max-width: 560px) {
  .menu-table-head, .menu-row { grid-template-columns: 1fr repeat(3, 52px); font-size: 0.82rem; }
  .simple-list .menu-row { grid-template-columns: 1fr 70px; }
}
