/* ============================================================
   Nona's Homemade — style.css
   Modern, clean redesign · Bootstrap 5 · Playfair + Montserrat
   ============================================================ */

:root {
  --chocolate: #2C1A0E;
  --chocolate-mid: #4a2e1a;
  --caramel: #C47B3A;
  --caramel-light: #d9934f;
  --cream: #FFF8F2;
  --vanilla: #F5EBD8;
  --blush: #F4B8A0;
  --blush-deep: #e8906e;
  --text: #2C1A0E;
  --text-muted: #7a6355;
  --white: #ffffff;
}

/* ── BASE ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: inherit;
}

img { display: block; max-width: 100%; }

/* ── BACKGROUNDS ──────────────────────────────────────── */
.bg-cream    { background-color: var(--cream)    !important; }
.bg-vanilla  { background-color: var(--vanilla)  !important; }
.bg-chocolate { background-color: var(--chocolate) !important; }
.text-blush  { color: var(--blush) !important; }
.text-caramel { color: var(--caramel) !important; }

/* ── NAVBAR ────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, padding 0.3s ease, box-shadow 0.35s ease;
  padding: 1.1rem 0;
}

#mainNav.scrolled {
  background: rgba(44, 26, 14, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: 0 3px 24px rgba(0,0,0,0.3);
}

/* Logo */
.nav-logo {
  height: 58px;
  width: auto;
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  padding: 4px 8px;
  transition: height 0.3s;
}
#mainNav.scrolled .nav-logo { height: 46px; }

/* Nav links */
#mainNav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s;
}
#mainNav .nav-link:hover { color: var(--blush) !important; }

/* Hamburger */
.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler:focus { box-shadow: none; }
.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%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile collapsed nav gets opaque bg */
@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(44, 26, 14, 0.96);
  }
  #mainNav .navbar-collapse {
    padding: 0.75rem 0 1rem;
  }
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 10, 4, 0.72) 0%,
    rgba(20, 10, 4, 0.45) 55%,
    rgba(20, 10, 4, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 780px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.1rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 24px rgba(0,0,0,0.45);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0.88;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-nona {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nona-solid {
  background: var(--caramel);
  color: #fff;
  border-color: var(--caramel);
}
.btn-nona-solid:hover {
  background: var(--caramel-light);
  border-color: var(--caramel-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,123,58,0.4);
}

.btn-nona-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}
.btn-nona-ghost:hover {
  background: #fff;
  color: var(--chocolate);
  border-color: #fff;
}

.btn-nona-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(244,184,160,0.65);
}
.btn-nona-ghost-light:hover {
  background: var(--blush);
  border-color: var(--blush);
  color: var(--chocolate);
}

/* ── SECTION LAYOUT ────────────────────────────────────── */
.section-pad { padding: 6rem 0; }

.eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.75rem;
}

.sec-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.sec-sub {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* ── PRICE CARDS ───────────────────────────────────────── */
.price-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 28px rgba(44,26,14,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(44,26,14,0.13);
}

.price-icon { font-size: 2.6rem; margin-bottom: 0.75rem; }

.price-card h4 {
  font-size: 1.3rem;
  color: var(--chocolate);
  margin-bottom: 1.25rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0e6d8;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.price-list li:last-child { border-bottom: none; }

.price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--caramel);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* ── FLAVOR PHOTO ROW ──────────────────────────────────── */
.flavor-photo-row {
  display: flex;
  gap: 1rem;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 340px;
}
.flavor-photo-main {
  flex: 1.4;
  object-fit: cover;
  height: 100%;
}
.flavor-photo-accent {
  flex: 1;
  object-fit: cover;
  height: 100%;
}

@media (max-width: 575.98px) {
  .flavor-photo-row { height: 200px; }
  .flavor-photo-accent { display: none; }
}

/* ── FLAVOR CARDS ──────────────────────────────────────── */
.flavor-card {
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 12px rgba(44,26,14,0.07);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.flavor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44,26,14,0.12);
}

.fdot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
}

.flavor-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--chocolate);
  line-height: 1.35;
}
.flavor-card small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* ── CAKES SECTION ─────────────────────────────────────── */
.cake-photo {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.cake-details {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cake-details li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}
.cake-details li:last-child { border-bottom: none; }

/* ── TRUCK SECTION ─────────────────────────────────────── */
.truck-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--chocolate);
  border: 1px solid rgba(196,123,58,0.35);
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── GALLERY ───────────────────────────────────────────── */
.g-item {
  overflow: hidden;
  border-radius: 0.9rem;
  height: 220px;
  background: var(--vanilla);
}
.g-item-tall { height: 460px; }

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.g-item:hover img { transform: scale(1.06); }

@media (max-width: 767.98px) {
  .g-item { height: 170px; }
  .g-item-tall { height: 350px; }
}

/* ── ABOUT ─────────────────────────────────────────────── */
.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}
.about-photo {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--caramel);
  color: #fff;
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  text-align: center;
  box-shadow: 0 6px 24px rgba(196,123,58,0.4);
}
.about-badge-icon { font-size: 1.5rem; display: block; margin-bottom: 0.25rem; }
.about-badge strong { display: block; font-size: 0.85rem; font-family: 'Playfair Display', serif; }
.about-badge small { display: block; font-size: 0.7rem; opacity: 0.9; }

.about-stats { gap: 2rem !important; }
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--caramel);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .about-badge { right: 0; bottom: -1rem; padding: 0.9rem 1.1rem; }
  .about-photo { max-height: 380px; }
}

/* ── LOCATIONS ─────────────────────────────────────────── */
.loc-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 4px 28px rgba(44,26,14,0.07);
}
.loc-card h3 {
  font-size: 1.65rem;
  color: var(--chocolate);
}
.loc-badge {
  background: var(--caramel);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
}

address { font-style: normal; }
address p {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
address i { color: var(--caramel); }
address a {
  color: var(--chocolate);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
address a:hover { color: var(--caramel); }

.loc-hours-head {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hours-table { font-size: 0.86rem; border-collapse: collapse; }
.hours-table tr td { padding: 0.3rem 0; }
.hours-table tr td:first-child { color: var(--text-muted); }
.hours-table tr td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--chocolate);
}

.map-wrap {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(44,26,14,0.08);
}

.truck-cta {
  background: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  max-width: 460px;
  text-align: center;
  box-shadow: 0 4px 28px rgba(44,26,14,0.07);
}
.truck-cta h4 { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* ── FOOTER ────────────────────────────────────────────── */
.footer-main {
  background: var(--chocolate);
  color: rgba(255,255,255,0.78);
}

.footer-logo {
  height: 72px;
  width: auto;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  padding: 5px 10px;
}

.footer-text {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}
.footer-text a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-text a:hover { color: var(--blush); }

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blush); }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.22s ease;
}
.social-btn:hover {
  background: var(--caramel);
  border-color: var(--caramel);
  color: #fff;
  transform: translateY(-2px);
}

.footer-divider {
  border-color: rgba(255,255,255,0.12);
}

.powered-by {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.22s;
}
.powered-by:hover { color: var(--blush); }
.powered-by strong { color: rgba(255,255,255,0.62); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .section-pad { padding: 4rem 0; }
  .hero-sub { font-size: 0.95rem; }

  .about-img-wrap { margin-bottom: 1.5rem; }
  .about-badge { bottom: auto; top: 1rem; right: 1rem; }

  .truck-cta { padding: 2.25rem 1.5rem; }
  .loc-card { padding: 1.75rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .hero-headline { font-size: 2.8rem; }
  .flavor-photo-row { height: 180px; }
  .stat-num { font-size: 1.85rem; }
}
