/* ============================================================
   Harbor Café — cozy dark espresso theme
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #16100b;
  --surface: #1f1712;
  --surface-2: #261d16;
  --border: #382c22;
  --ink: #f4ecdf;
  --muted: #b3a08c;
  --accent: #e8912d;
  --accent-strong: #f0a03e;
  --accent-soft: rgba(232, 145, 45, 0.12);
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Outfit", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #16100b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1120px, 92%); margin-inline: auto; }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 16, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { font-family: var(--font-display); font-size: 1.45rem; }
.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: #16100b;
  padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--accent-strong); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 7.5rem 0 5rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 640px; height: 480px;
  top: -180px; left: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.16), transparent 65%);
  animation: warm 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes warm {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(10%, 8%, 0) scale(1.12); }
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }

.tag {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600; color: var(--accent-strong);
  background: var(--accent-soft); border: 1px solid rgba(232, 145, 45, 0.35);
  padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.8rem;
}

.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  line-height: 1.02; letter-spacing: 0.005em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.sub { font-size: 1.15rem; color: var(--muted); max-width: 480px; margin-bottom: 2.2rem; }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero-note { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.note-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; }

/* Rising steam, purely decorative */
.steam { position: absolute; right: 8%; bottom: 3rem; z-index: 0; display: flex; gap: 1.6rem; }
.steam span {
  display: block; width: 14px; height: 70px; border-radius: 999px;
  background: linear-gradient(to top, transparent, rgba(232, 145, 45, 0.28));
  animation: rise 4.5s ease-in-out infinite;
  transform-origin: bottom center;
}
.steam span:nth-child(2) { animation-delay: 1.1s; height: 90px; }
.steam span:nth-child(3) { animation-delay: 2.2s; height: 60px; }
.steam span:nth-child(4) { animation-delay: 3.3s; height: 80px; }
@keyframes rise {
  0%   { transform: translateY(20px) scaleY(0.6); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(-46px) scaleY(1); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 0.97rem; border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--accent); color: #16100b; box-shadow: 0 8px 26px rgba(232, 145, 45, 0.3); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost { background: var(--surface-2); border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 0.7rem;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: 0.005em; line-height: 1.1; margin-bottom: 0.8rem;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-sub { color: var(--muted); }

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.4rem; }
.menu-col h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.2rem; }
.menu-col ul { list-style: none; }
.menu-col li {
  display: flex; align-items: baseline; gap: 0.6rem;
  padding: 0.72rem 0; border-bottom: 1px dashed var(--border);
  font-size: 0.97rem;
}
.dots { flex: 1; border-bottom: 2px dotted rgba(179, 160, 140, 0.4); transform: translateY(-4px); }
.item { font-weight: 500; }
.price { font-weight: 700; color: var(--accent-strong); white-space: nowrap; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.about-grid h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.12; }
.about-grid h2 em { font-style: italic; color: var(--accent); }
.about-text p { color: var(--muted); margin-bottom: 1.8rem; }
.values { display: grid; gap: 1rem; }
.value {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 1rem 1.2rem;
}
.value strong { display: block; font-size: 0.98rem; margin-bottom: 0.2rem; }
.value span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.visit-grid h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1.2rem; }
.visit-grid h2 em { font-style: italic; color: var(--accent); }
.visit-address { font-style: normal; color: var(--muted); line-height: 2; }
.visit-address a { color: var(--accent-strong); font-weight: 600; }
.visit-address a:hover { text-decoration: underline; }

.visit-hours { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.visit-hours h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.1rem; }
.visit-hours ul { list-style: none; }
.visit-hours li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.6rem 0; font-size: 0.97rem; }
.hours-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.4rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal { font-size: 0.85rem; color: var(--muted); }
.footer-legal a { color: var(--accent-strong); font-weight: 600; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 0.6rem 4%; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links .nav-cta { text-align: center; margin: 0.85rem 0; }

  .hero { padding-top: 5rem; }
  .steam { display: none; }
  .section { padding: 4.5rem 0; }
  .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .steam span { animation: none; }
}
