/* =========================================================
   Nibbles N Bites Catering — coastal-elegant Lowcountry
   "Tidewater & Sunset" — oyster linen, deep tidewater teal,
   blood-orange sunset + seafoam accents (bridged from the logo).
   ========================================================= */

:root {
  /* Linen / oyster base */
  --linen:     #f5efe4;
  --linen-2:   #efe7d8;
  --linen-3:   #e7dcc7;
  --pearl:     #fbf8f1;

  /* Deep tidewater dark zones */
  --tide:      #15302e;   /* near-black teal */
  --tide-2:    #1c3d3a;
  --tide-3:    #245049;

  /* Sunset (primary accent) */
  --sunset:    #cf6034;
  --sunset-2:  #e07542;
  --sunset-deep:#a94a26;

  /* Seafoam (secondary) */
  --seafoam:   #84b3a6;
  --seafoam-2: #a7cabf;
  --seafoam-deep:#4f8578;

  /* Brass + ink */
  --brass:     #b8894a;
  --brass-bright:#d0a45e;
  --ink:       #24312e;
  --ink-soft:  #566863;
  --line:      rgba(21, 48, 46, 0.14);
  --line-light:rgba(245, 239, 228, 0.16);

  --maxw: 1180px;
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(21, 48, 46, 0.09);
  --shadow:    0 18px 44px rgba(21, 48, 46, 0.16);
  --shadow-lg: 0 30px 74px rgba(21, 48, 46, 0.28);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --font-script: "Sacramento", cursive;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 1rem; letter-spacing: 0.015em;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sunset); color: #fff6ef;
  box-shadow: 0 10px 24px rgba(207, 96, 52, 0.34);
}
.btn-primary:hover { background: var(--sunset-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(207, 96, 52, 0.44); }
.btn-ghost { background: transparent; color: var(--tide); border-color: var(--tide); }
.btn-ghost:hover { background: var(--tide); color: var(--linen); transform: translateY(-2px); }
.btn-light { background: rgba(245,239,228,.12); color: var(--linen); border-color: rgba(245,239,228,.4); }
.btn-light:hover { background: var(--linen); color: var(--tide); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 16px 0;
  background: transparent;
}
.site-header.scrolled {
  padding: 9px 0;
  background: rgba(245, 239, 228, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.28); transition: width .3s ease, height .3s ease;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--linen); letter-spacing: .005em; transition: color .3s ease; }
.brand-text em { font-family: var(--font-script); font-style: normal; color: var(--seafoam-2); font-size: 1.2rem; margin-top: 1px; transition: color .3s ease; }
.scrolled .brand-text strong { color: var(--tide); }
.scrolled .brand-text em { color: var(--sunset); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--linen); position: relative; transition: color .2s ease; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.scrolled .nav a { color: var(--tide-2); text-shadow: none; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--sunset); transition: width .25s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--sunset); color: #fff6ef !important; padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(207, 96, 52, .34); text-shadow: none !important;
}
.nav-cta:hover { background: var(--sunset-2); transform: translateY(-1px); }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700;
  color: var(--linen); font-size: 1rem; text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.header-phone svg { color: var(--seafoam-2); }
.scrolled .header-phone { color: var(--tide); text-shadow: none; }
.scrolled .header-phone svg { color: var(--sunset); }
.header-phone:hover { color: var(--sunset); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--linen); border-radius: 2px; transition: .25s ease; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.scrolled .nav-toggle span { background: var(--tide); box-shadow: none; }

/* =========================================================
   Hero — cinematic full-bleed
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 150px 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,32,30,.72) 0%, rgba(15,32,30,.46) 34%, rgba(15,32,30,.66) 78%, rgba(15,32,30,.92) 100%),
    radial-gradient(120% 80% at 12% 40%, rgba(15,32,30,.55), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-copy { color: var(--linen); }
.eyebrow {
  font-family: var(--font-body); font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  font-size: .78rem; color: var(--seafoam-2); margin-bottom: 14px;
}
.hero-script { font-family: var(--font-script); font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--sunset-2); line-height: 1; margin-bottom: 2px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-title {
  font-family: var(--font-head); font-weight: 600; line-height: 1.02;
  font-size: clamp(2.7rem, 6.2vw, 5rem); color: var(--linen); letter-spacing: -0.015em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-sub { font-size: 1.18rem; color: rgba(245,239,228,.9); max-width: 34em; margin: 24px 0 32px; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { font-size: .96rem; color: rgba(245,239,228,.82); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust b { color: var(--seafoam-2); font-weight: 700; }

/* =========================================================
   Trust bar
   ========================================================= */
.trustbar { background: var(--tide); color: var(--linen); position: relative; z-index: 3; }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 30px 24px; gap: 18px; text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; }
.trust-item:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 12%; height: 76%; width: 1px; background: var(--line-light);
}
.trust-num { font-family: var(--font-head); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--brass-bright); }
.trust-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section { position: relative; z-index: 2; padding: 96px 0; }
.section-head { max-width: 730px; margin: 0 auto 54px; text-align: center; }
.section-label {
  font-family: var(--font-body); font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  font-size: .76rem; color: var(--sunset); margin-bottom: 14px;
}
.section-label.light { color: var(--seafoam-2); }
.section-title {
  font-family: var(--font-head); font-weight: 600; line-height: 1.06;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem); color: var(--ink); letter-spacing: -0.015em;
}
.section-title.light { color: var(--linen); }
.section-title .script { font-family: var(--font-script); font-weight: 400; color: var(--sunset); font-size: 1.15em; }
.section-title.light .script { color: var(--seafoam-2); }
.section-intro { font-size: 1.12rem; color: var(--ink-soft); margin-top: 18px; }
.section-intro.light { color: rgba(245,239,228,.82); }

/* ---------- generic cards ---------- */
.cards { display: grid; gap: 22px; }
.card {
  background: var(--pearl); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* =========================================================
   Services
   ========================================================= */
.services { background: linear-gradient(180deg, var(--linen), var(--linen-2)); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.svc { padding: 34px 28px; }
.svc-icon {
  position: relative; width: 76px; height: 76px; border-radius: 16px; margin-bottom: 20px;
  overflow: hidden; background: var(--linen-3); box-shadow: 0 8px 20px rgba(21, 48, 46, 0.18);
}
.svc-icon img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.svc:hover .svc-icon img { transform: scale(1.08); }
.svc-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(184, 137, 74, 0.55), inset 0 0 0 4px rgba(251, 248, 241, 0.9);
}
.svc h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.42rem; color: var(--tide); margin-bottom: 8px; }
.svc p { color: var(--ink-soft); }

/* =========================================================
   Menu — photo grid with real prices
   ========================================================= */
.menu { background: var(--tide); color: var(--linen); }
.menu-cat {
  font-family: var(--font-body); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .8rem; color: var(--seafoam-2); margin: 44px 0 20px;
  display: flex; align-items: center; gap: 16px;
}
.menu-cat:first-of-type { margin-top: 0; }
.menu-cat::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dish {
  background: var(--tide-2); border: 1px solid var(--line-light); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(132,179,166,.45); }
.dish-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tide-3); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-price {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--sunset); color: #fff6ef; font-family: var(--font-head); font-weight: 600;
  font-size: .98rem; padding: 5px 13px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.dish-price.custom { background: var(--tide); color: var(--seafoam-2); border: 1px solid var(--seafoam-deep); }
.dish-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.28rem; color: var(--linen); margin-bottom: 8px; line-height: 1.2; }
.dish-body p { color: rgba(245,239,228,.72); font-size: .95rem; line-height: 1.55; }
.menu-note {
  text-align: center; margin-top: 44px; font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; color: var(--linen);
}
.menu-note .script { font-family: var(--font-script); color: var(--seafoam-2); font-size: 1.5em; }

/* =========================================================
   About (linen zone, editorial split)
   ========================================================= */
.about { background: var(--linen); }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-frame {
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--pearl);
  border: 1px solid var(--line);
}
.about-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -22px; right: -18px; z-index: 3;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--tide); color: var(--linen);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow); border: 3px solid var(--brass); transform: rotate(-7deg);
}
.about-badge .since { font-family: var(--font-body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--seafoam-2); }
.about-badge .year { font-family: var(--font-head); font-weight: 600; font-size: 1.9rem; line-height: 1; }
.about-copy .section-title { margin-top: 8px; }
.about-copy p { color: var(--ink-soft); margin-top: 18px; font-size: 1.08rem; }
.about-values { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.about-values li {
  background: var(--pearl); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: .92rem; color: var(--tide-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.about-values li span { color: var(--sunset); }

/* =========================================================
   Gallery (tidewater masonry)
   ========================================================= */
.gallery { background: var(--tide-2); color: var(--linen); }
.gallery-grid { column-count: 3; column-gap: 18px; }
.g-tile {
  break-inside: avoid; margin: 0 0 18px; border-radius: 14px; overflow: hidden;
  background: var(--tide-3); box-shadow: 0 14px 30px rgba(0,0,0,.30);
  border: 1px solid var(--line-light);
}
.g-tile img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.g-tile:hover img { transform: scale(1.05); }

/* =========================================================
   Testimonials (linen zone)
   ========================================================= */
.testimonials { background: linear-gradient(180deg, var(--linen-2), var(--linen)); }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.quote {
  background: var(--pearl); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--brass-bright); letter-spacing: .14em; margin-bottom: 14px; font-size: 1.05rem; }
.quote blockquote { font-family: var(--font-head); font-weight: 400; font-size: 1.28rem; line-height: 1.45; color: var(--tide); font-optical-sizing: auto; }
.quote figcaption { margin-top: 18px; font-weight: 700; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 500; font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
.quotes-note { text-align: center; margin-top: 26px; font-size: .9rem; color: var(--ink-soft); }

/* =========================================================
   Quote / Contact (tidewater zone)
   ========================================================= */
.quote-sec { background: var(--tide); color: var(--linen); }
.quote-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote-copy > p { color: rgba(245,239,228,.82); font-size: 1.12rem; margin: 18px 0 28px; }
.quote-contact { display: flex; flex-direction: column; gap: 14px; }
.quote-contact li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; }
.qc-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto;
  background: rgba(245,239,228,.08); border: 1px solid var(--line-light); color: var(--seafoam-2);
}
.quote-contact a:hover { color: var(--seafoam-2); }

.quote-form { background: var(--pearl); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); }
.form-head { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--tide); margin-bottom: 6px; }
.form-sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-body); font-weight: 700; font-size: .88rem; color: var(--tide-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sunset); box-shadow: 0 0 0 3px rgba(207,96,52,.14);
}
.field textarea { resize: vertical; }
.form-fineprint { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }
.form-success {
  text-align: center; margin-top: 14px; font-weight: 700; color: var(--seafoam-deep);
  background: rgba(132,179,166,.16); border: 1px solid rgba(79,133,120,.3); border-radius: 11px; padding: 14px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #102523; color: var(--linen); position: relative; z-index: 2; padding-top: 58px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; }
.footer-brand img { width: 64px; border-radius: 12px; margin-bottom: 14px; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.footer-tag { font-family: var(--font-script); color: var(--seafoam-2); font-size: 1.4rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 14px; }
.footer-col p { color: rgba(245,239,228,.78); line-height: 1.85; }
.footer-col a:hover { color: var(--seafoam-2); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-light); padding: 20px 24px; font-size: .85rem; color: rgba(245,239,228,.6);
}
.footer-built { font-family: var(--font-script); color: var(--seafoam-2); font-size: 1.05rem; }

/* =========================================================
   Mobile sticky bar
   ========================================================= */
.mobile-bar { display: none; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner, .about-inner, .quote-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; margin: 0 auto 20px; }
  .services-grid, .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 2; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--linen); padding: 88px 24px 28px; box-shadow: var(--shadow);
    transform: translateY(-100%); transition: transform .3s ease; height: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--tide-2); text-shadow: none; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 16px; border-bottom: 0 !important; }
  .nav-toggle { display: flex; z-index: 60; }
  .header-phone span { display: none; }
  .header-phone { margin-left: auto; }
  .nav-toggle.open span { background: var(--tide); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .trust-item:nth-child(2)::after { display: none; }
  .section { padding: 68px 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 128px 0 72px; }

  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
    background: var(--tide); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
    box-shadow: 0 -8px 24px rgba(0,0,0,.28);
  }
  .mobile-bar a {
    flex: 1; text-align: center; font-family: var(--font-body); font-weight: 700; padding: 13px;
    border-radius: 11px; font-size: 1rem;
  }
  .mb-call { background: rgba(245,239,228,.12); color: var(--linen); }
  .mb-quote { background: var(--sunset); color: #fff6ef; }
  body { padding-bottom: 70px; }
}

@media (max-width: 460px) {
  .services-grid, .menu-grid, .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 1; }
}
