/* ==========================================================================
   Tsang's Cafe — Duxbury, MA
   ========================================================================== */

:root {
  --navy: #25455a;
  --navy-dark: #17303f;
  --navy-darker: #0f2129;
  --ivory: #faf6ef;
  --cream: #f2ead9;
  --gold: #c9973f;
  --gold-light: #e0b968;
  --red: #a63d2f;
  --ink: #24303a;
  --muted: #6b7a84;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5,
.font-display {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  color: var(--navy);
}

.section-pad {
  padding: 5.5rem 0;
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 3.5rem 0;
  }
}

.section-eyebrow {
  display: inline-block;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

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

.section-title.text-light-title {
  color: #fff;
}

.divider-mark {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 0 auto 1.75rem;
}

.divider-mark.align-start {
  margin: 0 0 1.75rem;
}

/* ---------------------------------- Navbar ---------------------------------- */

.navbar-tsangs {
  background-color: var(--navy);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 2px 18px rgba(15, 33, 41, 0.25);
}

.navbar-brand-tsangs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
}

.navbar-brand-tsangs img {
  height: 38px;
  width: auto;
  display: block;
}

.navbar-brand-tsangs .brand-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
}

.navbar-tsangs .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  transition: color 0.15s ease;
}

.navbar-tsangs .nav-link:hover,
.navbar-tsangs .nav-link:focus {
  color: var(--gold-light) !important;
}

.btn-nav-call {
  background-color: var(--gold);
  color: var(--navy-darker) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 1.15rem !important;
  white-space: nowrap;
}

.btn-nav-call:hover {
  background-color: var(--gold-light);
  color: var(--navy-darker) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("img/hero.webp") center 32% / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.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(15, 33, 41, 0.35) 0%, rgba(15, 33, 41, 0.12) 45%, rgba(15, 33, 41, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.75rem 2rem;
  background: rgba(15, 33, 41, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-eyebrow {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  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-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.85rem;
  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: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.9rem;
  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: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 560px;
  margin: 0 auto 2rem;
  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-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.btn-gold {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy-darker);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-darker);
}

.btn-outline-hero {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}

.btn-outline-hero:hover {
  background-color: #fff;
  color: var(--navy-dark);
  border-color: #fff;
}

/* ---------------------------------- About ---------------------------------- */

.about-section {
  background-color: var(--ivory);
}

.about-lede {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.highlight-tile {
  background-color: #fff;
  border: 1px solid rgba(37, 69, 90, 0.1);
  border-radius: 0.85rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(23, 48, 63, 0.06);
}

.highlight-tile i {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.highlight-tile h5 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.highlight-tile p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.about-photo-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(23, 48, 63, 0.2);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------- Menu ---------------------------------- */

.menu-section {
  background-color: var(--navy-dark);
  position: relative;
}

.menu-note {
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
}

.menu-legend {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
}

.accordion-tsangs .accordion-item {
  background-color: var(--ivory);
  border: none;
  border-radius: 0.7rem !important;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.accordion-tsangs .accordion-button {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-dark);
  background-color: var(--ivory);
  padding: 1.1rem 1.4rem;
  letter-spacing: 0.01em;
}

.accordion-tsangs .accordion-button:not(.collapsed) {
  color: var(--navy-dark);
  background-color: var(--cream);
  box-shadow: none;
}

.accordion-tsangs .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-tsangs .accordion-button::after {
  filter: sepia(45%) saturate(600%) hue-rotate(-10deg) brightness(85%);
}

.accordion-tsangs .accordion-body {
  padding: 0.5rem 1.4rem 1.6rem;
  background-color: var(--ivory);
}

.menu-cat-desc {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.menu-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(37, 69, 90, 0.16);
}

.menu-row:last-child {
  border-bottom: none;
}

.menu-row.menu-row-desc {
  display: block;
}

.menu-row-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.menu-name {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.98rem;
}

.menu-spicy {
  color: var(--red);
  font-size: 0.8rem;
  margin-left: 0.15rem;
}

.menu-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(37, 69, 90, 0.35);
  transform: translateY(-4px);
  min-width: 12px;
}

.menu-price {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--gold);
  white-space: nowrap;
}

.menu-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
  font-weight: 400;
}

.menu-combo-item {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(37, 69, 90, 0.16);
  font-size: 0.95rem;
  color: var(--navy-dark);
}

.menu-combo-item:last-child {
  border-bottom: none;
}

.menu-combo-item .menu-price {
  float: right;
}

.luncheon-note {
  background-color: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--navy-dark);
  border-radius: 0.4rem;
  margin-bottom: 1.5rem;
}

/* ---------------------------------- Gallery ---------------------------------- */

.gallery-section {
  background-color: var(--cream);
}

.gallery-card {
  border-radius: 0.85rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 34px rgba(23, 48, 63, 0.14);
  height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1.1rem 0.9rem;
  background: linear-gradient(to top, rgba(15, 33, 41, 0.88), rgba(15, 33, 41, 0));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ---------------------------------- Location ---------------------------------- */

.location-section {
  background-color: var(--ivory);
}

.location-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2.25rem;
  box-shadow: 0 14px 40px rgba(23, 48, 63, 0.1);
  height: 100%;
}

.location-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-item i {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.location-item h5 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-dark);
  margin-bottom: 0.3rem;
}

.location-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.allergy-note {
  background-color: var(--cream);
  border-radius: 0.6rem;
  padding: 1rem 1.15rem;
  font-size: 0.82rem;
  color: var(--navy-dark);
  margin-top: 1.75rem;
}

.map-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(23, 48, 63, 0.14);
  height: 100%;
  min-height: 420px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ---------------------------------- Footer ---------------------------------- */

.footer-tsangs {
  background-color: var(--navy-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-logo-chip {
  background-color: #fdfbf6;
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.footer-logo-chip img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-tsangs h6 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-tsangs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-tsangs a:hover {
  color: var(--gold-light);
}

.footer-tsangs .footer-links li {
  margin-bottom: 0.55rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2.25rem 0 1.5rem;
}

.powered-by-wfw {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff !important;
}

.powered-by-wfw span {
  color: var(--gold-light);
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
