/* ═══════════════════════════════════════════════════════════
   Mezzo Mare — Hull, MA
   Palette: Burgundy · Antique Gold · Warm Cream · Charcoal
   Fonts:   Cormorant Garamond (headings) · Jost (body)
═══════════════════════════════════════════════════════════ */

:root {
  --burgundy:    #7B1F35;
  --burgundy-dk: #581526;
  --gold:        #C5975A;
  --gold-lt:     #D9B07A;
  --cream:       #F8F3EA;
  --cream-dk:    #EDE4D4;
  --charcoal:    #1C1210;
  --charcoal-md: #2E1E18;
  --text-warm:   #3A2218;
  --text-light:  #F3EDE3;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-warm);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

a { text-decoration: none; }

img { display: block; max-width: 100%; }


/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
#mainNav {
  padding: 1.1rem 0;
  background: rgba(28, 18, 16, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid rgba(197, 151, 90, 0.15);
}

#mainNav.nav-scrolled {
  background: rgba(28, 18, 16, 0.97);
  padding: 0.65rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light) !important;
}

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}

.brand-ornament {
  color: var(--gold);
  font-size: 0.5rem;
  opacity: 0.8;
}

#mainNav .nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.85) !important;
  padding: 0.4rem 0.85rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

#mainNav .nav-link:hover { color: var(--gold) !important; }

.nav-reserve {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px;
  padding: 0.35rem 1rem !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-reserve:hover {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
}

.navbar-toggler { border-color: rgba(197, 151, 90, 0.5); }

@media (max-width: 991px) {
  #navbarNav {
    background: rgba(28, 18, 16, 0.97);
    padding: 1rem;
    border-top: 1px solid rgba(197, 151, 90, 0.2);
  }
}


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.48) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: inline-block;
  padding: 2.5rem 3rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(197, 151, 90, 0.25);
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
  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-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 0.5rem;
  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-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.hero-rule span {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-rule i {
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.9;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.75rem;
  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: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(243, 237, 227, 0.85);
  max-width: 420px;
  margin: 0 auto 0.25rem;
  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);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--burgundy);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 1px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-hero-primary:hover {
  background: var(--burgundy-dk);
  color: #fff;
  transform: translateY(-1px);
}

.btn-hero-outline {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 0.85rem 2rem;
  border-radius: 1px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}


/* ══════════════════════════════════════════════════════════
   SHARED SECTION TYPOGRAPHY
══════════════════════════════════════════════════════════ */
.section-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

.section-eyebrow.light { color: var(--gold-lt); }

.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-heading.light { color: var(--text-light); }

.section-sub {
  font-size: 0.95rem;
  color: rgba(58, 34, 24, 0.65);
  max-width: 540px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.section-about {
  padding: 7rem 0;
  background: var(--cream);
}

.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) sepia(0.08);
}

.about-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -1.2rem;
  background: var(--burgundy);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.9rem 1.4rem;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .about-badge { right: 0.5rem; bottom: -0.8rem; }
  .about-img { height: 320px; }
}

.about-copy { padding-top: 0.5rem; }

.about-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.about-copy p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(58, 34, 24, 0.8);
  margin-bottom: 0.85rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
}

.ah-item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-warm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ah-item i {
  color: var(--burgundy);
  font-size: 0.95rem;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════
   PILLARS STRIP
══════════════════════════════════════════════════════════ */
.section-pillars { background: var(--burgundy); }

.pillars-grid { }

.pillar-cell {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  transition: background 0.25s ease;
}

.pillar-cell:last-child { border-right: none; }

.pillar-cell:hover { background: rgba(255,255,255,0.06); }

.pillar-icon {
  display: block;
  font-size: 2rem;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}

.pillar-cell h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}

.pillar-cell p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 767px) {
  .pillar-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .pillar-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
}


/* ══════════════════════════════════════════════════════════
   MENU
══════════════════════════════════════════════════════════ */
.section-menu {
  padding: 7rem 0;
  background: var(--cream-dk);
}

/* Tab nav */
.menu-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  border-bottom: 2px solid rgba(123, 31, 53, 0.15);
}

.menu-tab-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.65rem 1.4rem;
  color: rgba(58, 34, 24, 0.55);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tab-btn:hover { color: var(--burgundy); }

.menu-tab-btn.active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

/* Menu items */
.menu-item {
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
  border-left-color: var(--gold);
  box-shadow: 0 2px 12px rgba(58,34,24,0.07);
}

.menu-item-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.menu-item-hd h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--burgundy);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item p {
  font-size: 0.88rem;
  color: rgba(58, 34, 24, 0.65);
  line-height: 1.65;
  margin: 0;
}

.menu-cat-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 500;
  color: var(--burgundy);
  text-align: center;
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(123,31,53,0.15);
}


/* ══════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════ */
.section-gallery {
  background: var(--charcoal);
  padding-bottom: 0;
}

.gallery-header {
  padding: 5rem 1rem 2.5rem;
}

/* 6 cells → 3 columns × 2 rows */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 3px;
}

.gallery-cell {
  position: relative;
  overflow: hidden;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.gallery-cell:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 16, 0);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  transition: background 0.3s ease;
}

.gallery-cell:hover .gallery-caption { background: rgba(28, 18, 16, 0.45); }

.gallery-caption span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.gallery-cell:hover .gallery-caption span { color: rgba(255,255,255,0.9); }

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
}


/* ══════════════════════════════════════════════════════════
   LOCATION
══════════════════════════════════════════════════════════ */
.section-location {
  padding: 7rem 0;
  background: #fff;
}

.loc-info-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.loc-info-block {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.loc-icon {
  font-size: 1.35rem;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.loc-info-block h6 {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.loc-info-block p {
  font-size: 0.95rem;
  color: var(--text-warm);
  line-height: 1.7;
  margin: 0;
}

.loc-info-block p a {
  color: var(--burgundy);
  font-weight: 500;
}
.loc-info-block p a:hover { text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  font-size: 0.9rem;
  padding: 0.25rem 0;
  color: var(--text-warm);
  vertical-align: top;
}
.hours-table td:first-child { padding-right: 1.5rem; font-weight: 500; }
.closed-day { color: rgba(58,34,24,0.45); font-style: italic; }

.map-frame {
  border: 3px solid var(--cream-dk);
  overflow: hidden;
}

.map-frame iframe { display: block; }


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  padding: 4rem 0 2.5rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.1rem;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-addr {
  font-size: 0.85rem;
  color: rgba(243, 237, 227, 0.5);
  line-height: 1.65;
  margin: 0;
}

.footer-addr a { color: rgba(243, 237, 227, 0.5); }
.footer-addr a:hover { color: var(--gold); }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197, 151, 90, 0.35);
  color: rgba(243, 237, 227, 0.6);
  font-size: 1.1rem;
  border-radius: 50%;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }

.footer-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 2rem 0 1.5rem;
}

.footer-credit {
  font-size: 0.78rem;
  color: rgba(243, 237, 227, 0.3);
  margin: 0;
}

.footer-credit a {
  color: var(--gold);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-credit a:hover { opacity: 1; }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .section-about,
  .section-menu,
  .section-location { padding: 5rem 0; }

  .about-highlights { grid-template-columns: 1fr; }

  .hero-content { padding: 2rem 1.75rem; }
}

@media (max-width: 575px) {
  .hero-content { padding: 1.75rem 1.25rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-outline { width: 200px; }

  .pillar-cell { padding: 2rem 1.25rem; }

  .section-about,
  .section-menu,
  .section-location { padding: 4rem 0; }

  .gallery-header { padding: 3rem 1rem 2rem; }
}
