/* Over Easy Cafe — public site styles.
   Dimensions/colors mirror the original Wix design (980px content column). */

:root {
  --ink: #333;
  --nav-bg: #e37153;
  --nav-active: #0057e1;
  --banner: #9d0d0d;
  --tab-active: #82b2ff;
  --panel: rgba(214, 195, 175, .9);
  --panel-solid: #d6c3af;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wide: Montserrat, "Arial Black", sans-serif;
  --script: Cookie, "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); }
img { max-width: 100%; display: block; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: 980px; max-width: 100%; margin: 0 auto; position: relative; }
[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); z-index: 100; background: #fff; color: #116dff; padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--nav-active); outline-offset: 2px; }

/* ── Wood textures ───────────────────────────── */
.site-header, .site-footer {
  background: url(../img/wood-light.jpg) center / cover no-repeat;
  position: relative;
}
.site-header::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .4);
}
.site-header > *, .site-footer > * { position: relative; }
.wood-section { background: url(../img/wood-dark.jpg) center top / cover repeat-y; }

/* ── Header ───────────────────────────────────── */
.site-header { height: 216px; }
.header-inner { height: 100%; }
.logo {
  position: absolute; left: 126px; top: 14px;
  background: #fff; padding: 8px; width: 295px; height: 177px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.logo img { width: 279px; height: 161px; object-fit: cover; }
.header-text {
  position: absolute; left: 439px; width: 440px; top: 18px;
  text-align: center; font-family: var(--serif);
}
.header-text .call { font-size: 25px; font-weight: 700; line-height: 35px; color: #000; }
.header-text .call a { color: #000; }
.header-text .tagline { margin-top: 13px; font-size: 21px; font-style: italic; line-height: 29.4px; }
.header-text .hours { margin-top: 13px; font-size: 17px; font-style: italic; line-height: 23.8px; }

/* ── Main nav ─────────────────────────────────── */
.site-nav { background: var(--nav-bg); height: 60px; }
.site-nav ul {
  list-style: none; margin: 0 auto; padding: 0 0 0 96px; height: 100%;
  display: flex; justify-content: center; align-items: center; gap: 0 134px;
}
.site-nav a {
  font: 900 16px/50px var(--wide); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); white-space: nowrap; transition: color .2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--nav-active); }

/* ── Home: banner + slideshow ─────────────────── */
.banner {
  background: var(--banner); min-height: 158px; padding: 28px 16px;
  display: flex; align-items: center; justify-content: center;
}
.banner p {
  font: 700 26px/32.5px var(--sans); letter-spacing: .01em; color: #fff; text-align: center;
}
.slideshow {
  position: relative; height: clamp(240px, 55.56vw, 800px); overflow: hidden;
  background: #222 url(../img/wood-dark.jpg) center / cover;
}
.slideshow .slide {
  margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
}
.slideshow .slide.is-active { opacity: 1; z-index: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; }
.ss-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 60px; height: 80px; padding: 18px; border: 0; background: none; cursor: pointer;
  color: #fff; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .45));
}
.ss-arrow svg { width: 24px; height: 46px; }
.ss-prev { left: 82px; }
.ss-next { right: 82px; }
.ss-dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 44px;
  display: flex; justify-content: center; gap: 11px;
}
.ss-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  background: #fff; border: 0; opacity: .9; box-shadow: 0 0 2px rgba(0, 0, 0, .4);
}
.ss-dots button.is-active { background: transparent; box-shadow: inset 0 0 0 1.5px #fff, 0 0 2px rgba(0, 0, 0, .4); transform: scale(1.2); }

/* ── Footer ───────────────────────────────────── */
.site-footer { padding: 22px 16px 19px; text-align: center; min-height: 211px; }
.site-footer .footer-addr, .site-footer .footer-notes {
  font: 700 18px/25.2px var(--serif); letter-spacing: .05em;
}
.site-footer .footer-notes { margin-top: 25px; }
.site-footer .copyright { margin-top: 24px; font: 14px/19.6px var(--sans); letter-spacing: .05em; }

/* ── Menu pages ───────────────────────────────── */
.menu-page { padding: 25px 16px 33px; }
.menu-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 72px;
  margin-bottom: 9px;
}
.menu-tabs a {
  font: 900 22px/30.8px var(--wide); letter-spacing: .2em; text-transform: uppercase; color: #fff;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35); transition: color .2s;
}
.menu-tabs a:hover, .menu-tabs a.active { color: var(--tab-active); }

.panel {
  width: 931px; max-width: 100%; margin: 0 auto; background: var(--panel);
  padding: 14px 28px 30px; box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}
.script-title {
  margin: 0; font: italic 700 45px/1.25 var(--script); letter-spacing: 3.6px; text-align: center; color: var(--ink);
}
.panel-404 { text-align: center; padding: 60px 20px; font-size: 18px; }
.panel-404 p { margin-top: 12px; }

.jump-bar {
  position: sticky; top: 0; z-index: 20; margin: 12px -28px 0; padding: 10px 28px;
  background: transparent; transition: background .2s, box-shadow .2s;
}
.jump-bar.stuck { background: var(--panel-solid); box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jump-links a {
  font: 700 14px/1 var(--sans); color: var(--ink); text-decoration: none;
  padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(51, 51, 51, .35);
  background: rgba(255, 255, 255, .35); transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.jump-links a:hover, .jump-links a.current { background: var(--nav-bg); border-color: var(--nav-bg); color: #fff; }
.menu-search {
  display: flex; align-items: center; gap: 8px; max-width: 320px; margin: 10px auto 0;
  background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 0 14px; border: 1px solid rgba(51, 51, 51, .25);
}
.menu-search svg { width: 17px; height: 17px; flex: none; color: #666; }
.menu-search input {
  flex: 1; border: 0; background: none; font: 15px var(--sans); padding: 9px 0; color: var(--ink); min-width: 0;
}
.menu-search input:focus { outline: none; }
.menu-search:focus-within { border-color: var(--nav-active); background: #fff; }

.menu-intro {
  margin: 18px auto 4px; text-align: center; font: 700 16px/22.4px var(--sans);
}
.no-results { text-align: center; margin: 30px 0; font-size: 17px; }
.menu-section { margin-top: 34px; scroll-margin-top: 120px; }
.section-title {
  display: flex; align-items: center; gap: 16px; margin: 0 0 6px;
  font: 700 20px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-align: center;
}
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: rgba(51, 51, 51, .45); }
.section-note { text-align: center; font: 15px/21px var(--sans); margin: 0 auto 4px; max-width: 760px; font-style: italic; }
.items {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 44px; grid-auto-flow: dense;
}
.menu-section.single .items { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
.section-photo { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.section-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.item { break-inside: avoid; }
.item-head { display: flex; align-items: baseline; gap: 0; }
.item-name { margin: 0; font: 700 15.5px/1.35 var(--sans); text-transform: uppercase; letter-spacing: .01em; }
.item-name .adv { margin-right: 1px; }
.badge {
  display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 2px 7px; border-radius: 3px;
  font: 700 10.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; background: var(--banner); color: #fff;
}
.dots { flex: 1; min-width: 14px; margin: 0 6px; border-bottom: 2px dotted rgba(51, 51, 51, .45); transform: translateY(-4px); }
.price { font: 700 16px/1.35 var(--sans); white-space: nowrap; }
.item-desc { margin-top: 3px; font: 15px/1.45 var(--sans); color: #3a3a3a; }
.item-opts { list-style: none; margin: 4px 0 0; padding: 0; font: italic 14px/1.45 var(--sans); color: #444; }
.item-opts li::before { content: "+ "; font-style: normal; font-weight: 700; color: var(--banner); }
.menu-footnote { margin-top: 38px; padding-top: 14px; border-top: 1px solid rgba(51, 51, 51, .35); font: italic 13.5px/1.5 var(--sans); text-align: center; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--nav-bg); color: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.to-top svg { width: 22px; height: 22px; }

/* ── Contact page ─────────────────────────────── */
.contact-page { padding: 33px 16px 53px; }
.contact-top { display: flex; gap: 8px; width: 928px; max-width: 100%; margin: 0 auto; }
.contact-info {
  flex: 0 0 460px; min-height: 359px; padding: 12px 30px 6px 37px;
  background: rgba(51, 51, 51, .47); color: #fff; font-family: var(--serif);
}
.contact-info a { color: #fff; }
.ci-name { font-size: 20px; font-weight: 700; line-height: 33.6px; }
.ci-addr, .ci-phone { font-size: 20px; line-height: 28px; }
.ci-phone { margin-top: 28px; }
.ci-hours { margin-top: 28px; font-size: 20px; font-weight: 700; line-height: 28px; }
.ci-served { margin-top: 21px; font-size: 18px; line-height: 25.2px; }
.ci-notes { margin-top: 25px; font-size: 15px; line-height: 21px; }
.contact-map { flex: 0 0 460px; min-height: 358px; background: #e5e3df; }
.contact-map iframe { width: 100%; height: 100%; min-height: 358px; border: 0; display: block; }

.contact-form {
  width: 496px; max-width: 100%; margin: 40px auto 0; background: #fff; padding: 16px 21px 23px 22px;
  font-family: Jost, Futura, "Century Gothic", sans-serif;
}
.contact-form h1 { margin: 0 0 38px; font: 700 30px/42px var(--serif); color: #000; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form .field { display: block; margin: 0 0 27px 3px; }
.contact-form .field span { display: block; font-size: 14px; line-height: 14px; color: #000; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 0; border-bottom: 2px solid #000; border-radius: 0; background: transparent;
  font: 16px Jost, Futura, sans-serif; padding: 10px 0 6px; height: 44px; color: #000; resize: vertical;
}
.contact-form textarea { height: 88px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--nav-active); }
.contact-form .invalid input { border-bottom-color: #d6453d; }
.contact-form .err { display: block; font-style: normal; font-size: 13px; color: #d6453d; min-height: 0; margin-top: 4px; }
.contact-form .err:empty { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.contact-form button {
  width: 146px; height: 42px; border: 0; border-radius: 21px; background: #000; color: #fff;
  font: 16px Jost, Futura, sans-serif; cursor: pointer; transition: background .2s;
}
.contact-form button:hover { background: #333; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.form-status { font-size: 16px; color: #000; text-align: right; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1000px) {
  .site-header { height: auto; }
  .header-inner { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 16px; flex-wrap: wrap; }
  .logo, .header-text { position: static; }
  .header-text { width: auto; max-width: 440px; }
  .site-nav ul { padding-left: 0; gap: 0 56px; }
  .contact-top { flex-direction: column; width: 460px; }
  .contact-info, .contact-map { flex-basis: auto; }
}
@media (max-width: 760px) {
  .logo { width: 211px; height: 127px; padding: 6px; }
  .logo img { width: 199px; height: 115px; }
  .header-text .call { font-size: 19px; line-height: 26px; }
  .header-text .tagline { font-size: 17px; line-height: 24px; margin-top: 8px; }
  .header-text .hours { font-size: 14px; line-height: 20px; margin-top: 6px; }
  .site-nav { height: auto; }
  .site-nav ul { flex-wrap: wrap; gap: 0 26px; padding: 6px 8px; }
  .site-nav a { font-size: 12.5px; line-height: 34px; letter-spacing: .14em; }
  .banner { min-height: 0; padding: 18px 12px; }
  .banner p { font-size: 17px; line-height: 24px; }
  .ss-prev { left: 4px; } .ss-next { right: 4px; }
  .ss-dots { bottom: 16px; }
  .menu-page { padding: 14px 8px 24px; }
  .menu-tabs { gap: 4px 22px; }
  .menu-tabs a { font-size: 15px; letter-spacing: .12em; }
  .panel { padding: 10px 14px 24px; }
  .script-title { font-size: 40px; }
  .jump-bar { margin-inline: -14px; padding: 8px 10px; }
  .jump-links { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .jump-links::-webkit-scrollbar { display: none; }
  .items { grid-template-columns: 1fr; gap: 14px; }
  .section-photo { grid-column: 1; grid-row: auto; }
  .section-title { font-size: 17px; gap: 10px; }
  .item-name { font-size: 14.5px; }
  .site-footer .footer-addr, .site-footer .footer-notes { font-size: 15px; line-height: 22px; letter-spacing: .02em; }
  .contact-page { padding: 16px 8px 32px; }
  .contact-top { width: 100%; }
  .contact-info { padding: 14px 18px; min-height: 0; }
  .ci-name, .ci-addr, .ci-phone, .ci-hours { font-size: 17px; line-height: 25px; }
  .ci-served { font-size: 15.5px; line-height: 22px; }
  .ci-phone, .ci-hours { margin-top: 18px; }
  .contact-form { margin-top: 20px; }
  .contact-form .row2 { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slideshow .slide { transition: none; }
}
