/* ==========================================================================
   Fig Tree Cafe — Marstons Mills, Cape Cod
   ========================================================================== */

:root {
  --coral: #d9713f;
  --coral-dark: #b85c30;
  --plum: #4a2c3a;
  --plum-deep: #331e28;
  --sage: #7c8a52;
  --sage-dark: #5f6c3c;
  --cream: #fbf3e6;
  --cream-2: #f4e8d6;
  --ink: #33262a;
  --gold: #c99a3f;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

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

a { color: var(--coral-dark); }
a:hover { color: var(--plum); }

.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
  display: inline-block;
}

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

.section-lede {
  max-width: 640px;
  color: #5a4a4f;
  font-size: 1.05rem;
}

section { padding: 5.5rem 0; }
@media (max-width: 767px) { section { padding: 3.5rem 0; } }

.bg-cream-2 { background: var(--cream-2); }
.bg-plum { background: var(--plum); color: #f2e6ea; }
.bg-plum h1, .bg-plum h2, .bg-plum h3, .bg-plum h4 { color: #fff; }

/* ---------- Buttons ---------- */
.btn-coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; }

.btn-outline-cream {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover { background: #fff; color: var(--plum); }

.btn-sage {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.7rem 1.6rem;
}
.btn-sage:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(251, 243, 230, 0.96);
  backdrop-filter: blur(6px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 14px rgba(74, 44, 58, 0.08);
}
.navbar-brand-wrap { display: flex; align-items: center; gap: 0.6rem; }
.navbar-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.navbar-brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--plum) !important;
  line-height: 1;
}
.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
}
.navbar-nav .nav-link:hover { color: var(--coral-dark); }
.nav-order-btn {
  background: var(--coral);
  color: #fff !important;
  border-radius: 50px;
  padding: 0.45rem 1.2rem !important;
  margin-left: 0.4rem;
}
.nav-order-btn:hover { background: var(--coral-dark); color: #fff !important; }

/* ---------- Hero ---------- */
.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;
}
.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(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 24px;
}
.hero-eyebrow {
  color: #ffe9d4;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  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 {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.02;
  margin: 0.4rem 0 0.6rem;
  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: #fff;
  font-size: 1.35rem;
  font-family: var(--font-head);
  font-style: italic;
  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 {
  color: #fbe9da;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0.75rem auto 1.75rem;
  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-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Awards strip ---------- */
.awards-strip { background: var(--plum); padding: 2.75rem 0; }
.award-cell {
  text-align: center;
  color: #f2e6ea;
  padding: 0.5rem 1rem;
}
.award-cell i { font-size: 2rem; color: var(--gold); margin-bottom: 0.6rem; display: block; }
.award-cell .award-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; }
.award-cell .award-sub { font-size: 0.8rem; opacity: 0.85; }

/* ---------- About ---------- */
.about-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(74,44,58,0.22);
}
.about-quote {
  border-left: 4px solid var(--coral);
  padding-left: 1.2rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--plum);
  margin: 1.5rem 0;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.about-badge {
  background: var(--cream-2);
  border: 1px solid rgba(74,44,58,0.12);
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
}

/* ---------- Menu ---------- */
.menu-tabs.nav-pills {
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.menu-tabs .nav-link {
  color: var(--plum);
  background: var(--cream-2);
  border-radius: 50px;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  font-size: 0.92rem;
}
.menu-tabs .nav-link.active { background: var(--coral); color: #fff; }

.menu-category { margin-bottom: 2.75rem; }
.menu-category-title {
  font-family: var(--font-head);
  color: var(--sage-dark);
  font-size: 1.3rem;
  border-bottom: 2px solid var(--cream-2);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.menu-item { margin-bottom: 1.1rem; }
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}
.menu-item-name { font-weight: 700; color: var(--plum); font-size: 1.02rem; }
.menu-item-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--coral-dark);
  white-space: nowrap;
  font-size: 1.02rem;
}
.menu-item-desc { font-size: 0.88rem; color: #6b5a5f; font-style: italic; margin-top: 0.1rem; }
.menu-note {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: #5a4a4f;
}
.menu-note strong { color: var(--plum); }

.sides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem 1.5rem;
}
@media (max-width: 767px) { .sides-grid { grid-template-columns: 1fr; } }
.side-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.28rem 0;
  border-bottom: 1px dotted rgba(74,44,58,0.15);
}
.side-row span:last-child { color: var(--coral-dark); font-weight: 700; }

/* ---------- Vegan / GF & Specials grids ---------- */
.photo-grid { display: grid; gap: 1.25rem; }
.photo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) {
  .photo-grid.cols-2, .photo-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .photo-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
.photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 24px rgba(74,44,58,0.15);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.photo-card:hover img { transform: scale(1.06); }
.photo-card-caption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(51,30,40,0.92), transparent);
  color: #fff;
  padding: 1.6rem 0.9rem 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.photo-card-caption small { display: block; font-weight: 400; opacity: 0.85; font-size: 0.74rem; }

/* ---------- Catering / Holiday ---------- */
.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(74,44,58,0.1);
  height: 100%;
}
.info-card img { border-radius: 14px; width: 100%; object-fit: cover; margin-bottom: 1.25rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.chip {
  background: var(--sage);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 0.8rem;
  border-radius: 50px;
}
.pie-list .side-row span:first-child { color: var(--plum); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 10px 26px rgba(74,44,58,0.1);
  height: 100%;
}
.testimonial-card i.bi-quote { font-size: 1.8rem; color: var(--coral); }
.testimonial-text { font-style: italic; color: #4a3a3e; font-size: 0.95rem; margin: 0.75rem 0 1.1rem; }
.testimonial-name { font-family: var(--font-head); font-weight: 700; color: var(--plum); }

/* ---------- Location ---------- */
.location-card {
  background: var(--plum);
  color: #f2e6ea;
  border-radius: 20px;
  padding: 2.5rem;
}
.location-card h3 { color: #fff; }
.location-detail { display: flex; gap: 0.9rem; margin-bottom: 1.35rem; align-items: flex-start; }
.location-detail i { font-size: 1.3rem; color: var(--gold); margin-top: 0.2rem; }
.map-frame { border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(74,44,58,0.22); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: #d8c5cd; padding: 3.5rem 0 1.5rem; }
.footer-logo-chip {
  background: #fbf3e6;
  border-radius: 16px;
  padding: 0.7rem;
  display: inline-flex;
  width: 68px; height: 68px;
  align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.footer-logo-chip img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.site-footer h5 { color: #fff; font-family: var(--font-head); }
.site-footer a { color: #d8c5cd; text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.footer-links li { margin-bottom: 0.5rem; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1rem; flex-wrap: wrap; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.social-row a:hover { background: var(--coral); color: #fff; }
.powered-by {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.powered-by a { font-weight: 700; color: var(--coral); }

/* ---------- Utility ---------- */
.beanstock-badge { width: 90px; height: auto; opacity: 0.95; }
