/* Chart Room — Cape Cod (Cataumet & Osterville) */

:root {
  --navy: #0d3b48;
  --navy-deep: #082830;
  --teal: #1c7a94;
  --teal-light: #4fa9bf;
  --coral: #d85a3f;
  --gold: #e3a53c;
  --cream: #faf5ea;
  --cream-dark: #f0e7d4;
  --ink: #16303a;
  --white: #ffffff;
  --shadow-soft: 0 12px 32px rgba(13, 59, 72, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Playfair Display', Georgia, serif;
}

a { text-decoration: none; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lead {
  color: #4a5f66;
  font-size: 1.05rem;
  max-width: 640px;
}

.section-pad { padding: clamp(4rem, 8vw, 6.5rem) 0; }

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: var(--cream);
  padding: 0.7rem 0;
  box-shadow: 0 2px 18px rgba(13, 59, 72, 0.08);
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy) !important;
}

.navbar-wfw .navbar-brand img {
  height: 44px;
  width: auto;
}

.navbar-wfw .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy) !important;
  margin: 0 0.55rem;
  letter-spacing: 0.01em;
}

.navbar-wfw .nav-link:hover { color: var(--coral) !important; }

.btn-coral {
  background: var(--coral);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-coral:hover { background: #c34d33; color: #fff; transform: translateY(-1px); }

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: transparent;
  transition: all 0.15s ease;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-light-pill {
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  transition: transform 0.15s ease;
}
.btn-light-pill:hover { transform: translateY(-1px); color: var(--navy); }

/* ---------- Hero (classic full-bleed centered) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(8,40,48,0.45) 0%, rgba(8,40,48,0.10) 100%),
    linear-gradient(to bottom, rgba(8,40,48,0.40) 0%, rgba(13,59,72,0.15) 45%, rgba(8,40,48,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(8,40,48,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  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);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 1rem;
  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-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 2rem;
  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-size: 0.95rem;
  letter-spacing: 0.05em;
  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);
  margin-top: 1.5rem;
  opacity: 0.92;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 2;
  font-size: 1.6rem;
  opacity: 0.8;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Location Cards ---------- */
.location-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.location-card img { width: 100%; height: 260px; object-fit: cover; }
.location-card .card-body { padding: 1.8rem; }
.location-card .badge-est {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(28,122,148,0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.location-card h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 0.5rem; }
.location-card .meta-line { font-size: 0.92rem; color: #56686e; margin-bottom: 0.35rem; }
.location-card .meta-line i { color: var(--coral); width: 20px; }

/* ---------- History ---------- */
.history-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
  height: 280px;
  object-fit: cover;
}
.history-col h3 {
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}
.history-col p { color: #3f5259; line-height: 1.7; }
.history-divider {
  width: 1px;
  background: rgba(13,59,72,0.15);
}

/* ---------- Menu ---------- */
.menu-tabs .nav-pills {
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 0.35rem;
  display: inline-flex;
}
.menu-tabs .nav-pills .nav-link {
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy);
  padding: 0.6rem 1.6rem;
  font-size: 0.95rem;
}
.menu-tabs .nav-pills .nav-link.active {
  background: var(--navy);
  color: #fff;
}

.menu-category h4 {
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 1.1rem;
}
.menu-category-note {
  font-size: 0.86rem;
  color: #6a7c82;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.menu-item { margin-bottom: 1.1rem; }
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}
.menu-item-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}
.menu-item-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
  font-size: 1.02rem;
}
.menu-item-desc {
  font-size: 0.9rem;
  color: #5c6e74;
  margin-top: 0.15rem;
}
.menu-item-variants {
  font-size: 0.85rem;
  color: #6a7c82;
  margin-top: 0.2rem;
}

.menu-addons {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: 0.88rem;
  color: #4a5f66;
  margin-top: 1.5rem;
}
.menu-addons strong { color: var(--navy); }

/* Bar program accordion */
.bar-accordion .accordion-item {
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(13,59,72,0.12);
}
.bar-accordion .accordion-button {
  background: transparent;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  padding: 1.1rem 0.2rem;
  box-shadow: none;
}
.bar-accordion .accordion-button:not(.collapsed) { color: var(--coral); background: transparent; }
.bar-accordion .accordion-button:focus { box-shadow: none; }
.bar-accordion .accordion-button::after { flex-shrink: 0; }
.bar-list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.2rem;
  border-bottom: 1px dashed rgba(13,59,72,0.1);
  font-size: 0.92rem;
}
.bar-list-item:last-child { border-bottom: none; }
.bar-list-name { color: var(--ink); }
.bar-list-name small { display: block; color: #6a7c82; font-size: 0.8rem; }
.bar-list-price { color: var(--coral); font-weight: 600; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.35s ease;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- Careers ---------- */
.careers-grid .role-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.2rem;
  text-align: center;
  height: 100%;
}
.careers-grid .role-card i {
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 0.7rem;
  display: block;
}
.careers-grid .role-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.careers-grid .role-card.cta-card {
  background: var(--navy);
  color: #fff;
}
.careers-grid .role-card.cta-card i { color: var(--gold); }
.careers-grid .role-card.cta-card h5 { color: #fff; }
.careers-grid .role-card.cta-card p { color: rgba(255,255,255,0.8); font-size: 0.82rem; margin: 0.4rem 0 0; }

/* ---------- Visit / Location & Contact ---------- */
.visit-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  height: 100%;
}
.visit-card .visit-body { padding: 1.8rem; }
.visit-card h3 { color: var(--navy); font-size: 1.55rem; margin-bottom: 0.3rem; }
.visit-card .visit-tag { color: var(--teal); font-weight: 600; font-size: 0.88rem; margin-bottom: 1rem; display: block; }
.visit-line { display: flex; gap: 0.7rem; margin-bottom: 0.7rem; font-size: 0.95rem; color: #3f5259; }
.visit-line i { color: var(--coral); width: 20px; margin-top: 0.2rem; }
.visit-hours-table { width: 100%; font-size: 0.9rem; margin: 0.6rem 0 1rem; }
.visit-hours-table td { padding: 0.2rem 0; color: #3f5259; }
.visit-hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.visit-card iframe { width: 100%; height: 260px; border: 0; display: block; }
.visit-social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.visit-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.visit-social a:hover { background: var(--coral); color: #fff; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 2rem;
}
.footer-logo-chip {
  background: var(--cream);
  border-radius: 14px;
  padding: 0.9rem 1.3rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.2rem;
}
.footer-logo-chip img { height: 52px; width: auto; }
footer.site-footer h6 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
footer.site-footer a { color: rgba(255,255,255,0.72); }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-powered {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}
.footer-powered a { color: var(--gold); font-weight: 700; }

@media (max-width: 767.98px) {
  .history-divider { display: none; }
  .hero-content { padding: 2rem 1.4rem; }
}
