/* Crispi's — Bridgewater, MA
   Palette: ink black + warm gold + wine red on cream
   Fonts: Fraunces (display) / Work Sans (body) */

:root {
  --ink: #1c1712;
  --ink-soft: #2a2119;
  --cream: #f7f0e4;
  --cream-deep: #efe4d0;
  --gold: #c9972f;
  --gold-bright: #e0b354;
  --wine: #6d1b2b;
  --wine-deep: #4a1220;
  --text-muted: #6b5f52;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .display-font {
  font-family: "Fraunces", Georgia, serif;
}

a {
  text-decoration: none;
}

/* ---------- Navbar ---------- */
.navbar-crispis {
  background-color: rgba(28, 23, 18, 0.97);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.navbar-crispis .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #fdf8ee !important;
  letter-spacing: 0.02em;
}

.navbar-crispis .navbar-brand img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.navbar-crispis .nav-link {
  color: #e9dfce !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s ease;
}

.navbar-crispis .nav-link:hover {
  color: var(--gold-bright) !important;
}

.btn-order-nav {
  background-color: var(--gold);
  color: var(--ink) !important;
  font-weight: 600;
  padding: 0.5rem 1.1rem !important;
  border-radius: 30px;
  margin-left: 0.3rem;
}

.btn-order-nav:hover {
  background-color: var(--gold-bright);
  color: var(--ink) !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 35%/cover no-repeat;
  clip-path: ellipse(140% 100% at 50% 0%);
  margin-top: -1px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(74, 18, 32, 0.55) 0%, rgba(74, 18, 32, 0.10) 100%),
    linear-gradient(to bottom, rgba(20, 10, 8, 0.55) 0%, rgba(20, 10, 8, 0.25) 45%, rgba(20, 10, 8, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.2rem 2rem;
  text-align: center;
  background: rgba(20, 10, 8, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 8px;
}

.hero-eyebrow {
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  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 {
  color: #fffaf0;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0.35rem 0;
  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 {
  color: #f3e9d6;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  font-family: "Fraunces", serif;
  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);
  margin-bottom: 1.6rem;
}

.hero-tagline {
  color: #e9dfce;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  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);
}

.btn-gold {
  background-color: var(--gold);
  border: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background-color: var(--gold-bright);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-outline-cream {
  border: 1.5px solid #f3e9d6;
  color: #fffaf0;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.btn-outline-cream:hover {
  background-color: #f3e9d6;
  color: var(--ink);
}

/* ---------- Section basics ---------- */
section {
  padding: 5.5rem 0;
}

.section-eyebrow {
  color: var(--wine);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

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

.section-rule {
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin: 0 auto 1.5rem;
}

/* ---------- About ---------- */
.about-section {
  background-color: var(--cream);
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-photo {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(28, 23, 18, 0.2);
}

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

.highlight-strip {
  background-color: var(--ink);
}

.highlight-item {
  text-align: center;
  color: #f3e9d6;
  padding: 1.5rem 1rem;
}

.highlight-item i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.highlight-item h5 {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #fffaf0;
}

.highlight-item p {
  color: #cbbfa9;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Menu ---------- */
.menu-section {
  background-color: var(--cream-deep);
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.menu-tabs .nav-link {
  border: 1.5px solid var(--wine);
  color: var(--wine);
  border-radius: 30px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  background: transparent;
}

.menu-tabs .nav-link.active {
  background-color: var(--wine);
  color: #fdf8ee;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(28, 23, 18, 0.18);
}

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

.menu-item-name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
}

.menu-item-desc {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  font-style: italic;
}

.menu-item-price {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--wine);
  white-space: nowrap;
  font-size: 1.02rem;
}

.menu-category-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--wine);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

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

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 18px rgba(28, 23, 18, 0.12);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(28, 23, 18, 0.25);
}

/* ---------- Gift Cards banner ---------- */
.giftcard-banner {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: #fdf8ee;
  text-align: center;
}

.giftcard-banner h2 {
  font-weight: 700;
}

.giftcard-banner p {
  color: #e9d3d8;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

/* ---------- Location ---------- */
.location-section {
  background-color: var(--cream-deep);
}

.info-card {
  background-color: #fffaf0;
  border-radius: 10px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(28, 23, 18, 0.08);
  text-align: center;
}

.info-card i {
  font-size: 1.6rem;
  color: var(--wine);
  margin-bottom: 0.75rem;
  display: block;
}

.info-card h5 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.info-card p, .info-card a {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.info-card a {
  color: var(--wine);
  font-weight: 600;
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(28, 23, 18, 0.2);
  height: 100%;
  min-height: 320px;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--ink);
  color: #cbbfa9;
  padding: 3.5rem 0 2rem;
}

.footer-logo-chip {
  background-color: #fdf8ee;
  border-radius: 10px;
  padding: 6px;
  display: inline-block;
  line-height: 0;
}

.footer-logo-chip img {
  height: 56px;
  width: 56px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.site-footer h6 {
  color: #fdf8ee;
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #cbbfa9;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #4a4038;
  margin-right: 0.5rem;
  font-size: 1.05rem;
}

.footer-social a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.powered-by {
  border-top: 1px solid #392f27;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.powered-by a {
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767.98px) {
  section {
    padding: 3.5rem 0;
  }
  .hero {
    min-height: 92vh;
    clip-path: ellipse(180% 100% at 50% 0%);
  }
  .menu-item-price {
    font-size: 0.95rem;
  }
}
