/* ============================================================
   or, The Whale — Nantucket
   Palette: deep teal, warm brass, cream, charcoal
   ============================================================ */

:root {
  --teal:      #2d7d7d;
  --teal-dark: #1c4f4f;
  --gold:      #c9a96e;
  --dark:      #1a2a2a;
  --cream:     #f8f5f0;
  --white:     #ffffff;
  --text:      #2a2e2e;
  --text-muted:#5a6464;
  --border:    #e0d8cf;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
}

.section-pad { padding: 5rem 0; }
.bg-cream { background: var(--cream); }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 1.25rem 0;
}
#mainNav.scrolled {
  background: rgba(26, 42, 42, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.75rem 0;
}
.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}
.brand-or    { color: var(--gold); font-style: italic; }
.brand-whale { color: var(--white); }
.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler-icon { filter: invert(1); }
.nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold) !important; }
.btn-reserve {
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px !important;
  padding: 0.45rem 1.1rem !important;
}
.btn-reserve:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
  max-width: 680px;
  width: 90%;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.25rem;
  font-style: italic;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

/* Buttons */
.btn-primary-whale {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-whale:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}
.btn-outline-whale {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-whale:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-whale-light {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-whale-light:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ============================================================
   HIGHLIGHTS STRIP
   ============================================================ */
.highlights-strip {
  background: var(--dark);
  border-top: 3px solid var(--gold);
}
.highlight-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.8rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.highlight-cell:last-child { border-right: none; }
.highlight-cell i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.highlight-cell span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.highlight-cell small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
  text-transform: uppercase;
}

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.section-eyebrow.light { color: var(--gold); }
.section-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.section-heading.light { color: var(--white); }
.body-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.body-text.light { color: rgba(255,255,255,0.75); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.team-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--teal);
  font-style: italic;
}
.team-line .divider {
  margin: 0 0.6rem;
  color: var(--gold);
}

/* ============================================================
   MENU
   ============================================================ */
.menu-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.menu-tabs .nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.6rem 1.5rem;
  transition: all 0.2s;
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
}
.menu-tabs .nav-link.active,
.menu-tabs .nav-link:hover {
  color: var(--teal) !important;
  background: transparent;
  border-bottom-color: var(--teal);
}
.menu-service-note {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menu-cat {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.menu-item {
  margin-bottom: 1.1rem;
}
.menu-item.featured {
  padding: 0.75rem;
  background: rgba(45,125,125,0.06);
  border-left: 3px solid var(--teal);
  border-radius: 2px;
}
.mi-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.mi-name .for-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: normal;
  margin-left: 0.3rem;
  letter-spacing: 0.04em;
}
.mi-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.15rem;
}
.menu-shared-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.curated-wine {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  color: var(--text-muted);
}
.curated-wine i { color: var(--gold); margin-right: 0.4rem; }
.curated-wine strong { display: block; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.25rem; }
.curated-wine p { font-size: 0.82rem; margin: 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-cell {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
}
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-cell:hover img { transform: scale(1.04); }

/* ============================================================
   EVENTS
   ============================================================ */
.bg-dark-teal { background: var(--teal-dark); }
.events-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.events-list li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.events-list li i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.events-sign-wrap {
  display: flex;
  justify-content: center;
}
.events-sign-img {
  width: 100%;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ============================================================
   LOCATION
   ============================================================ */
.contact-block { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.contact-item i {
  font-size: 1.3rem;
  color: var(--teal);
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.contact-item p, .contact-item a {
  font-size: 0.97rem;
  color: var(--text);
  margin: 0;
  text-decoration: none;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--teal); text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.hours-table td {
  padding: 0.3rem 0;
  color: var(--text);
  vertical-align: top;
}
.hours-table td:first-child {
  color: var(--text-muted);
  padding-right: 1rem;
  white-space: nowrap;
}
.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.map-wrap iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--teal);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
}
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.social-links { display: flex; justify-content: flex-end; gap: 1rem; }
.social-links a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }
.powered-by {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.powered-by a {
  color: var(--teal);
  text-decoration: none;
}
.powered-by a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
  .highlight-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .highlight-cell:last-child { border-bottom: none; }
  .hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
  .hero-actions .btn-primary-whale,
  .hero-actions .btn-outline-whale { display: block; margin: 0 !important; width: 80%; text-align: center; }
  .social-links { justify-content: center; }
  .footer-links { justify-content: center; }
  .powered-by { text-align: center; }
}
@media (max-width: 575.98px) {
  .hero-content { padding: 1.75rem 1.25rem; }
}
