/* Frontline Cafe & Bakery — Wicked Fast Web redesign */

:root {
  --navy: #16213e;
  --navy-deep: #0f1526;
  --cream: #fbf5ea;
  --cream-soft: #f3e9d7;
  --gold: #b8894f;
  --gold-light: #d9b98a;
  --brick: #a7402e;
  --brick-dark: #8a3123;
  --rose: #d9a9a0;
  --text: #2c2620;
  --white: #ffffff;
  --font-head: 'Libre Caslon Display', 'Georgia', serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  letter-spacing: 0.01em;
}

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

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

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

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

.btn-brick {
  background: var(--brick);
  border: 2px solid var(--brick);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-brick:hover {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
  color: var(--white);
}

.btn-outline-cream {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  border: 2px solid var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
}
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

/* ---------- Navbar ---------- */
.navbar {
  padding: 0.6rem 0;
  background: rgba(22, 33, 62, 0.0);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  padding: 0.35rem 0;
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.navbar-logo-chip {
  background: var(--white);
  border-radius: 10px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.navbar-logo-chip img {
  height: 34px;
  width: auto;
  display: block;
}
.navbar-brand-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  line-height: 1.1;
}
.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.navbar-nav .nav-link:hover { color: var(--gold-light) !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.5); }
.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background: var(--navy);
    margin: 0.6rem -0.75rem 0;
    padding: 0.75rem 1.25rem 1.25rem;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  .navbar-nav .nav-link { padding: 0.6rem 0 !important; }
  .navbar-nav .nav-item + .nav-item { border-top: 1px solid rgba(255,255,255,0.08); }
  .navbar-nav .nav-item.ms-lg-2 { border-top: none; margin-top: 0.6rem; }
}

/* ---------- Hero (compact, curved bottom) ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 38%/cover no-repeat;
  clip-path: ellipse(140% 100% at 50% 0%);
  margin-bottom: -6vw;
  padding-top: 5rem;
  /* clear the -6vw overlap from the next section so the CTAs/badge never hide under it */
  padding-bottom: calc(6vw + 2.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(22,33,62,0.55) 0%, rgba(22,33,62,0.15) 100%),
    linear-gradient(to bottom, rgba(15,21,38,0.55) 0%, rgba(15,21,38,0.25) 45%, rgba(15,21,38,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  background: rgba(15,21,38,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}
.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.2em;
  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 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  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: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  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: var(--cream-soft);
  font-size: 1rem;
  margin-top: 0.5rem;
  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-ctas {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-monday-badge {
  display: inline-block;
  margin-top: 1.1rem;
  background: var(--brick);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

/* ---------- Why strip ---------- */
.why-strip {
  background: var(--navy);
  position: relative;
  padding: 3.5rem 0 3rem;
}
.why-item {
  text-align: center;
  color: var(--cream);
  padding: 0.5rem 1rem;
}
.why-item i {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  display: block;
}
.why-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.why-item p {
  font-size: 0.88rem;
  color: rgba(251,245,234,0.75);
  margin: 0;
}

/* ---------- About ---------- */
.about-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(22,33,62,0.2);
}
.about-photo img { width: 100%; display: block; }
.about-quote {
  border-left: 4px solid var(--gold);
  padding-left: 1.1rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
  margin: 1.5rem 0;
}
.compassion-card {
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.75rem;
  border: 1px solid rgba(184,137,79,0.3);
}
.compassion-card p { margin: 0; font-size: 0.92rem; color: var(--text); }
.compassion-card a { font-weight: 700; }

/* ---------- Menu ---------- */
.menu-category h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-light);
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.menu-item-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
}
.menu-item-desc {
  font-size: 0.86rem;
  color: #6b6155;
  margin-top: 0.15rem;
}
.menu-item-price {
  font-family: var(--font-head);
  color: var(--brick);
  font-size: 1.05rem;
  white-space: nowrap;
}
.baked-goods-list {
  columns: 2;
  column-gap: 2rem;
}
.baked-goods-list .menu-item { break-inside: avoid; }

/* ---------- Divider banner ---------- */
.divider-banner {
  height: 220px;
  background: url('img/divider-patriotic.webp') center/cover no-repeat;
  position: relative;
}
.divider-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(22,33,62,0.75), rgba(22,33,62,0.35));
}
.divider-banner-text {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--white);
}
.divider-banner-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
.divider-banner-text p {
  margin: 0.3rem 0 0;
  color: var(--cream-soft);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* ---------- Custom Cakes ---------- */
.cakes-banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(22,33,62,0.18);
  margin-bottom: 3rem;
}
.cakes-banner img { width: 100%; display: block; }

.size-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(184,137,79,0.25);
  height: 100%;
}
.size-card .size-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
}
.size-card .size-price {
  color: var(--brick);
  font-family: var(--font-head);
  font-size: 1.9rem;
  margin: 0.4rem 0;
}
.size-card .size-servings {
  font-size: 0.85rem;
  color: #6b6155;
}

.signature-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.4rem 1.1rem;
  height: 100%;
  border: 1px solid rgba(184,137,79,0.2);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.signature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(22,33,62,0.12);
}
.signature-card .sig-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--gold);
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.1rem;
}
.signature-card.filler {
  background: var(--navy);
  color: var(--white);
}
.signature-card.filler .sig-badge {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}
.signature-card h4 {
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0;
}
.signature-card.filler h4 { color: var(--white); }
.signature-card p {
  font-size: 0.8rem;
  color: #6b6155;
  margin: 0.35rem 0 0;
}
.signature-card.filler p { color: rgba(255,255,255,0.75); }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--cream-soft);
  border: 1px solid rgba(184,137,79,0.35);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

/* ---------- Location / Contact ---------- */
.contact-section { background: var(--navy); color: var(--cream); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-eyebrow { color: var(--gold-light); }
.info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  text-align: center;
  height: 100%;
}
.info-card i { font-size: 1.6rem; color: var(--gold-light); margin-bottom: 0.5rem; display: block; }
.info-card h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--white); margin-bottom: 0.35rem; }
.info-card p, .info-card a { font-size: 0.9rem; color: rgba(251,245,234,0.85); margin: 0; }
.info-card a:hover { color: var(--gold-light); }
.hours-table { width: 100%; margin-top: 0.5rem; }
.hours-table td { padding: 0.3rem 0; font-size: 0.92rem; color: rgba(251,245,234,0.9); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--white); }
.hours-note {
  font-size: 0.78rem;
  color: rgba(251,245,234,0.6);
  margin-top: 0.6rem;
}
.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(251,245,234,0.75);
  padding: 3rem 0 1.5rem;
}
.footer-logo-chip {
  background: var(--cream);
  border-radius: 12px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo-chip img { height: 36px; width: auto; display: block; }
.site-footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.footer-links a {
  display: block;
  overflow-wrap: anywhere;
  color: rgba(251,245,234,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  margin-right: 0.6rem;
  font-size: 1.05rem;
}
.footer-social a:hover { background: var(--brick); color: var(--white); }
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(251,245,234,0.85);
  text-decoration: none;
}
.powered-by:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(251,245,234,0.5);
}

@media (max-width: 767.98px) {
  .baked-goods-list { columns: 1; }
  .section-pad { padding: 3.5rem 0; }
  .hero { min-height: 92vh; }
}
@media (max-width: 575.98px) {
  .navbar-brand-wrap { gap: 0.45rem; margin-right: 0; min-width: 0; }
  .navbar-logo-chip img { height: 26px; }
  .navbar-brand-text { font-size: 1rem; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
