/* SammyJ's Diner — visual match to the live GoDaddy site
   Colors, fonts and spacing pulled from the live page's computed styles. */

:root {
  --dark: #333333;
  --gold: #fbcf76;
  --ink: #161616;
  --muted: #a9a9a9;
  --off-white: #f7f7f7;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  background: var(--dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Mulish', 'Muli', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--dark);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-logo {
  height: 92px;
  width: 92px;
}

.nav-toggle {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  right: 1.5rem;
  background: var(--dark);
  border: 1px solid #4a4a4a;
  padding: 0.75rem 1rem;
  min-width: 160px;
}

.site-nav ul.open { display: flex; }

.site-nav a {
  text-decoration: none;
  color: var(--gold);
  font-weight: 500;
  padding: 0.4rem 0;
  display: block;
}

/* Hero */
.hero-image { width: 100%; line-height: 0; background: var(--dark); }
.hero-image-img { display: block; max-width: 70%; height: auto; margin: 0 auto; }

.hero-text {
  background: var(--dark);
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.ticker-mask {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: inline-flex;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  font-size: 2.2rem;
  color: var(--gold);
  font-family: 'Mulish', 'Muli', sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer-ticker .ticker-track { animation-duration: 16s; }
.footer-ticker .ticker-track span { font-size: 1.1rem; padding: 0 1.25rem; }
.footer-ticker a { text-decoration: none; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; font-size: 0.9rem; }

.hero-sub {
  max-width: 640px;
  margin: 1.5rem auto 2rem;
  color: var(--off-white);
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}

.btn-outline-light { color: var(--off-white); border-color: var(--off-white); }
.btn-outline-light:hover { background: var(--off-white); color: var(--dark); }

.btn-outline-dark { color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--off-white); }

.btn-solid-gold { background: var(--dark); color: var(--gold); border-color: var(--dark); }
.btn-solid-gold:hover { opacity: 0.85; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-gold { background: var(--gold); }
.section-dark { background: var(--dark); color: var(--off-white); }

.eyebrow-dark, .eyebrow-light {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 22px;
  text-align: center;
  margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--muted); }
.eyebrow-light { color: var(--muted); text-align: left; }

.welcome-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.welcome-copy { margin-bottom: 1.75rem; font-weight: 700; }

/* Gallery */
.gallery {
  margin-top: 2.5rem;
}
.gallery-row {
  display: flex;
}
.gallery-item {
  flex: 1;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0,0,0,0.05);
}

/* Menu */
.menu-section-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.menu-section-label.center { text-align: center; }

.menu-category { margin-bottom: 0.5rem; }
.menu-category h3 { font-size: 38px; margin-bottom: 0.25rem; }
.menu-category-note { color: #4a4a4a; font-style: italic; margin: 0 0 1.25rem; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.menu-row-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 16px;
}

.menu-row p {
  margin: 0.25rem 0 0;
  font-weight: 700;
  font-size: 14px;
  color: #3a3a3a;
}

.price { white-space: nowrap; font-weight: 700; }

hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  margin: 2rem 0;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.05);
}
.about-text h2 { color: var(--off-white); font-size: 32px; }
.about-text p { color: #d8d8d8; }

/* Map */
.map-wrap { position: relative; height: 420px; background: var(--gold); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-directions { position: absolute; top: 1rem; left: 1rem; background: var(--dark); color: var(--gold); border-color: var(--dark); }

/* Visit / contact */
.visit-inner h2 { margin-bottom: 2rem; }
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.visit-grid h4 { margin: 0 0 0.5rem; font-family: 'Quicksand', sans-serif; font-weight: 700; }
.visit-grid p { margin: 0 0 0.5rem; }
.visit-grid .btn { margin-top: 0.75rem; }

/* Footer */
.site-footer { background: var(--dark); padding: 2rem 0 2.5rem; text-align: center; }
.copyright { color: var(--muted); font-size: 0.85rem; margin: 1.5rem 0 0; }

/* Contact modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}
.modal-overlay[hidden] { display: none; }

.modal-card {
  background: var(--off-white);
  color: var(--ink);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
}
.modal-card h3 { margin-bottom: 1.25rem; }

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 700; font-size: 0.85rem; }
.form-row input, .form-row textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 130px; }
  .menu-grid { grid-template-columns: 1fr; }
  .ticker-track span { font-size: 1.5rem; }
  .brand-logo { height: 80px; width: 80px; }
}
