/* ═══════════════════════════════════════════════════════════════
   Saltwater Grill & Oyster Bar — Demo Site
   Ocean-side seafood restaurant, Comox Valley, BC
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --bg:       #0E1C1A;   /* deep ocean dark */
  --bg-2:     #132220;
  --bg-card:  #1A2E2B;
  --bdr:      rgba(255,255,255,.1);
  --bdr-warm: rgba(214,182,130,.2);

  --text-1:   #F5F0E8;   /* warm off-white */
  --text-2:   #C8BFB0;
  --text-3:   #8A8070;

  --gold:     #D6B682;   /* warm gold */
  --teal:     #3ECFB8;   /* ocean teal accent */
  --rust:     #C05C2A;   /* warm rust for CTAs */

  --r:        6px;
  --r-lg:     12px;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Focus / accessibility ────────────────────────────────── */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important;transition-duration:.01ms!important; }
}

/* ── Layout ───────────────────────────────────────────────── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ──────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(14,28,26,.95);
  backdrop-filter: blur(12px);
  border-color: var(--bdr);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: .01em;
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links-bar {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links-bar a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links-bar a:hover { color: var(--text-1); }
.nav-reserve {
  background: var(--rust);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity .2s !important;
}
.nav-reserve:hover { opacity: .88; }

.nav-ham-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-1);
  padding: 8px;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-card);
  z-index: 200;
  padding: 32px 28px;
  flex-direction: column;
  gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 22px;
  font-family: var(--font-head);
  color: var(--text-1);
  padding: 16px 0;
  border-bottom: 1px solid var(--bdr);
}
.drawer-close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 24px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 16px;
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-links-bar { display: none; }
  .nav-ham-btn { display: block; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(62,207,184,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 20%, rgba(214,182,130,.06) 0%, transparent 50%),
    linear-gradient(180deg, #0A1614 0%, #0E1C1A 50%, #081210 100%);
}
/* Decorative wave lines */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 120px,
      rgba(62,207,184,.03) 120px,
      rgba(62,207,184,.03) 121px
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--teal);
  opacity: .5;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-1);
  margin-bottom: 8px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  margin: 20px auto 36px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--rust);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: opacity .2s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-outline {
  border: 1px solid var(--bdr-warm);
  color: var(--gold);
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(214,182,130,.06); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ── Section commons ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--teal);
  opacity: .4;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}

/* ── ABOUT / STORY STRIP ──────────────────────────────────── */
.about-strip {
  padding: 100px 0;
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-mock {
  background: linear-gradient(135deg, #1A3530 0%, #0D2420 100%);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bdr-warm);
  overflow: hidden;
  position: relative;
}
.about-img-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(62,207,184,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(214,182,130,.1) 0%, transparent 50%);
}
.about-img-icon {
  font-size: 80px;
  position: relative;
  z-index: 1;
}
.about-tag {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--rust);
  color: #fff;
  border-radius: 8px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.about-tag span { display: block; font-size: 22px; font-weight: 700; }
.about-body { }
.about-body p {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.about-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-item-icon {
  width: 36px; height: 36px;
  background: rgba(62,207,184,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: 16px;
}
.about-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}
.about-item-text span {
  font-size: 13.5px;
  color: var(--text-3);
}

/* ── MENU PREVIEW ─────────────────────────────────────────── */
.menu-section {
  padding: 100px 0;
  background: var(--bg);
}
.menu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--bdr);
  margin-bottom: 48px;
  overflow-x: auto;
}
.menu-tab {
  background: none;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.menu-tab.active {
  color: var(--gold);
  border-color: var(--gold);
}
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bdr);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.menu-item {
  background: var(--bg-card);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: background .2s;
}
.menu-item:hover { background: #1F3533; }
.menu-item-left { flex: 1; }
.menu-item-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 5px;
}
.menu-item-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}
.menu-item-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(62,207,184,.1);
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 6px;
  display: inline-block;
}
.menu-item-price {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* ── RESERVATIONS ─────────────────────────────────────────── */
.reserve-section {
  padding: 100px 0;
  background: var(--bg-2);
}
.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.reserve-info h2 { margin-bottom: 16px; }
.reserve-info p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text-2);
}
.contact-item-icon {
  width: 36px; height: 36px;
  background: rgba(214,182,130,.08);
  border: 1px solid var(--bdr-warm);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 16px; height: 16px; }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 13.5px;
  color: var(--text-3);
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 20px;
}
.hours-day { color: var(--text-2); font-weight: 500; }
.hours-closed { color: var(--text-3); font-style: italic; }

/* Form */
.reserve-form {
  background: var(--bg-card);
  border: 1px solid var(--bdr-warm);
  border-radius: 14px;
  padding: 36px;
}
.reserve-form h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fg { margin-bottom: 16px; }
.fg label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text-1);
  font-family: var(--font-body);
  transition: border-color .2s;
  box-sizing: border-box;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.fg select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8070' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.fg option { background: var(--bg-card); }
.fg textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: 12px; color: var(--text-3); margin-bottom: 20px; }
.form-submit {
  width: 100%;
  background: var(--rust);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.form-submit:hover { opacity: .88; }
.form-success { display:none; text-align:center; padding: 20px 0; }
.form-success h3 { font-family: var(--font-head); font-size: 22px; color: var(--teal); margin-bottom: 10px; }
.form-success p { font-size: 14.5px; color: var(--text-2); }

/* ── GALLERY STRIP ────────────────────────────────────────── */
.gallery-strip {
  padding: 80px 0;
  background: var(--bg);
  text-align: center;
}
.gallery-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 48px;
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-tile {
  aspect-ratio: 4/3;
  border-radius: 10px;
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
  position: relative;
}
.gallery-tile:nth-child(1) { background: linear-gradient(135deg,#0D2820,#1A3A30); }
.gallery-tile:nth-child(2) { background: linear-gradient(135deg,#1A2520,#0D1E1A); }
.gallery-tile:nth-child(3) { background: linear-gradient(135deg,#1A2E28,#112018); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #080F0E;
  border-top: 1px solid var(--bdr);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 22px; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid var(--bdr);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-demo-badge {
  font-size: 12px;
  color: var(--text-3);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bdr);
  border-radius: 6px;
  padding: 6px 14px;
}
.footer-demo-badge a { color: var(--teal); font-weight: 600; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-tag { right: 0; }
  .reserve-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .gallery-row .gallery-tile:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 42px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .reserve-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-row .gallery-tile:nth-child(3) { display: flex; }
}
