/* =========================================================
   Luciano's Restaurant — Wrentham, MA
   ========================================================= */

:root {
  --burgundy: #5c1526;
  --burgundy-deep: #360d18;
  --burgundy-soft: #7a2137;
  --gold: #c9a24b;
  --gold-light: #e6c977;
  --cream: #faf4e9;
  --ivory: #fffcf6;
  --ink: #241a16;
  --gray: #6b5d54;
  --gray-light: #a89a8d;
  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.03rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-head);
  color: var(--burgundy);
  font-weight: 600;
}

.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 1.75rem;
  border: none;
  border-radius: 2px;
}

.section-divider.left { margin: 1rem 0 1.75rem; }

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

.bg-cream { background: var(--cream); }
.bg-ivory { background: var(--ivory); }
.bg-burgundy { background: var(--burgundy); color: var(--ivory); }
.bg-burgundy .section-title,
.bg-burgundy h3, .bg-burgundy h4 { color: var(--ivory); }

.text-gold { color: var(--gold) !important; }

/* ---------------- Navbar ---------------- */
#mainNav {
  background: rgba(54, 13, 24, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow .3s ease;
  padding: 0.65rem 0;
}
#mainNav.scrolled {
  background: var(--burgundy-deep);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  padding: 0.35rem 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory) !important;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
}
.navbar-brand img { height: 40px; width: auto; }
#mainNav .nav-link {
  color: var(--ivory) !important;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.9rem !important;
  opacity: 0.92;
}
#mainNav .nav-link:hover { color: var(--gold-light) !important; opacity: 1; }
.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}
.btn-reserve {
  background: var(--gold);
  color: var(--burgundy-deep) !important;
  border: 1px solid var(--gold);
}
.btn-reserve:hover { background: var(--gold-light); color: var(--burgundy-deep) !important; }
.btn-gift {
  background: transparent;
  color: var(--ivory) !important;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-gift:hover { background: rgba(255,255,255,0.12); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
}
.hero::before {
  content: "";
  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(30,7,14,0.35) 0%, rgba(30,7,14,0.12) 45%, rgba(30,7,14,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.75rem 2.25rem;
  margin: 0 1rem;
  background: rgba(30, 7, 14, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 6px;
}
.hero-eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  font-weight: 700;
  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: var(--font-head);
  color: #fff;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  margin: 0.4rem 0 0.9rem;
  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: #fdf6ea;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 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-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary, .btn-hero-secondary {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.btn-hero-primary { background: var(--gold); color: var(--burgundy-deep); border: 1px solid var(--gold); }
.btn-hero-primary:hover { background: var(--gold-light); color: var(--burgundy-deep); }
.btn-hero-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.75); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

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

/* ---------------- About strip ---------------- */
.about-lede {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--burgundy);
  line-height: 1.55;
}

/* ---------------- History ---------------- */
.chef-photo-wrap { position: relative; }
.chef-photo-wrap img {
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(54,13,24,0.25);
  width: 100%;
}
.chef-caption {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  text-align: center;
}

.badge-strip { margin-top: 3rem; }
.badge-card {
  background: var(--ivory);
  border: 1px solid rgba(92,21,38,0.12);
  border-radius: 6px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
}
.badge-card i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.badge-card h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--burgundy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

/* ---------------- Menu ---------------- */
.menu-pills {
  border: none;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.menu-pills .nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--ivory);
  border: 1px solid rgba(92,21,38,0.2);
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
}
.menu-pills .nav-link.active {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.menu-note {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--gray);
  border-radius: 0 4px 4px 0;
  margin-bottom: 2rem;
}

/* accordion */
.menu-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(92,21,38,0.15);
}
.menu-accordion .accordion-button {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--burgundy);
  background: transparent;
  padding: 1.1rem 0.25rem;
  box-shadow: none;
}
.menu-accordion .accordion-button:not(.collapsed) {
  color: var(--burgundy);
  background: transparent;
  box-shadow: none;
}
.menu-accordion .accordion-button::after {
  filter: sepia(1) saturate(3) hue-rotate(-10deg) brightness(0.85);
}
.menu-accordion .accordion-body { padding: 0.5rem 0.25rem 2rem; }

.menu-item { margin-bottom: 1.35rem; }
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-item-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  white-space: nowrap;
}
.menu-item-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(107,93,84,0.4);
  transform: translateY(-4px);
}
.menu-item-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
}
.menu-item-desc {
  color: var(--gray);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.wine-list-columns {
  column-count: 2;
  column-gap: 2.5rem;
}
@media (max-width: 767px) { .wine-list-columns { column-count: 1; } }
.wine-item {
  break-inside: avoid;
  font-size: 0.93rem;
  padding: 0.32rem 0;
  border-bottom: 1px dashed rgba(107,93,84,0.25);
  color: var(--ink);
}
.wine-item .wine-num { color: var(--gold); font-weight: 700; margin-right: 0.35rem; font-size: 0.82rem; }

.dessert-list, .sunday-list { column-count: 2; column-gap: 2.5rem; }
@media (max-width: 767px) { .dessert-list, .sunday-list { column-count: 1; } }
.dessert-item, .sunday-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
}
.sunday-price-badge {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 30px;
  padding: 0.55rem 1.4rem;
  font-size: 1.05rem;
  margin: 1.25rem 0;
}

.table-catering {
  font-size: 0.92rem;
}
.table-catering th {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--gray);
  border-bottom: 2px solid var(--gold);
}
.table-catering td { border-color: rgba(107,93,84,0.15); vertical-align: middle; }
.table-catering td:last-child, .table-catering td:nth-last-child(2) { text-align: right; white-space: nowrap; }

/* ---------------- Gallery ---------------- */
.gallery-cell { overflow: hidden; border-radius: 6px; position: relative; }
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .5s ease;
  display: block;
}
.gallery-cell:hover img { transform: scale(1.06); }
.gallery-cell .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-style: italic;
}

/* ---------------- Entertainment ---------------- */
.entertain-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  height: 100%;
}
.entertain-card i { font-size: 2rem; color: var(--gold-light); margin-bottom: 1rem; display: block; }
.entertain-card h3 { color: #fff; font-size: 1.3rem; }
.entertain-card p { color: rgba(255,252,246,0.85); margin: 0; }

/* ---------------- Events ---------------- */
.event-icon-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.event-icon-card i { font-size: 1.9rem; color: var(--gold); margin-bottom: 0.6rem; display: block; }
.event-icon-card span {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--burgundy);
}

/* ---------------- Reserve / Gift band ---------------- */
.cta-card {
  background: var(--ivory);
  border-radius: 8px;
  padding: 2.75rem 2rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(92,21,38,0.12);
}
.cta-card i { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.cta-card h3 { margin-bottom: 0.5rem; }
.cta-card p { color: var(--gray); margin-bottom: 1.5rem; }
.btn-cta {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  background: var(--burgundy);
  color: #fff;
  border: 1px solid var(--burgundy);
  display: inline-block;
}
.btn-cta:hover { background: var(--burgundy-deep); color: #fff; }

/* ---------------- Testimonials ---------------- */
.review-card {
  background: var(--ivory);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  height: 100%;
  border-top: 3px solid var(--gold);
}
.review-stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.review-quote { font-style: italic; color: var(--ink); font-size: 0.98rem; }
.review-author {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--burgundy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------------- Location ---------------- */
.location-info-item { display: flex; gap: 0.9rem; margin-bottom: 1.5rem; }
.location-info-item i { color: var(--gold); font-size: 1.3rem; margin-top: 0.15rem; }
.location-info-item h5 { font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--burgundy); margin-bottom: 0.2rem; }
.location-info-item p { margin: 0; color: var(--gray); }

.hours-table { width: 100%; font-size: 0.95rem; margin: 1.5rem 0; }
.hours-table td { padding: 0.35rem 0; border-bottom: 1px dashed rgba(107,93,84,0.25); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--burgundy); }

.map-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(54,13,24,0.18);
  border: none;
  width: 100%;
  min-height: 420px;
}

/* ---------------- Footer ---------------- */
footer.site-footer {
  background: var(--burgundy-deep);
  color: rgba(255,252,246,0.75);
  padding: 4rem 0 2rem;
}
footer.site-footer h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}
footer.site-footer a { color: rgba(255,252,246,0.75); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer .footer-logo { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.55rem; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  margin-right: 0.6rem;
}
.social-icons a:hover { background: var(--gold); color: var(--burgundy-deep); border-color: var(--gold); }
.footer-divider { border-color: rgba(255,255,255,0.15); margin: 2.5rem 0 1.5rem; }
.powered-by { font-size: 0.85rem; text-align: center; color: rgba(255,252,246,0.6); }
.powered-by a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .section-pad { padding: 4rem 0; }
  .hero-content { padding: 2rem 1.5rem; }
}
