/* ===== Marion's Pie Shop — Chatham, MA ===== */

:root {
  --navy: #1c2c4c;
  --navy-deep: #121d34;
  --cream: #faf3e7;
  --cream-soft: #f2e6d2;
  --amber: #c98a33;
  --amber-deep: #a3691e;
  --berry: #93373a;
  --berry-deep: #742a2c;
  --ink: #2b2117;
  --ink-soft: #5c5346;
  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

a { color: inherit; }

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--amber-deep);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lede {
  color: var(--ink-soft);
  max-width: 640px;
}

/* ===== Navbar ===== */

.navbar-marions {
  background: var(--navy);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}

.navbar-logo-chip {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  overflow: hidden;
}

.navbar-logo-chip img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar-brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.28rem;
  color: #fff !important;
  line-height: 1.1;
}

.navbar-brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.navbar-marions .nav-link {
  color: #f1e9da !important;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.5rem 0.9rem !important;
}

.navbar-marions .nav-link:hover {
  color: var(--amber) !important;
}

.btn-giftcard {
  background: var(--amber);
  color: var(--navy-deep) !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-giftcard:hover {
  background: #dea24b;
  transform: translateY(-1px);
  color: var(--navy-deep) !important;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 65%/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.06) 100%),
    linear-gradient(to bottom, rgba(18,29,52,0.55) 0%, rgba(120,60,30,0.20) 45%, rgba(18,29,52,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 2.25rem 1.5rem;
  margin: 0 1rem;
  background: rgba(10,14,24,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 18px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--amber);
  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);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: #fff;
  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: #fbf2e2;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  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-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--berry);
  border: 1px solid var(--berry);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-hero-primary:hover {
  background: var(--berry-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  transform: translateY(-2px);
}

.hero-curve {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.hero-curve svg { display: block; width: 100%; height: 90px; }

/* ===== Gift Card Banner ===== */

.giftcard-banner {
  background: linear-gradient(90deg, var(--berry) 0%, var(--berry-deep) 100%);
  color: #fff;
  padding: 1.6rem 0;
}

.giftcard-banner .lead {
  color: #fbe9df;
  margin-bottom: 0;
}

.giftcard-banner h3 {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.btn-giftcard-lg {
  background: var(--cream);
  color: var(--berry-deep);
  font-weight: 700;
  border-radius: 30px;
  padding: 0.7rem 1.9rem;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.btn-giftcard-lg:hover {
  transform: translateY(-2px);
  color: var(--berry-deep);
  background: #fff;
}

/* ===== Menu ===== */

.menu-section { padding: 5.5rem 0; background: var(--cream); }

.menu-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(28,44,76,0.08);
  border-top: 4px solid var(--amber);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28,44,76,0.14);
}

.menu-card .menu-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.menu-card h4 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.menu-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.menu-price-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 2.25rem;
  font-style: italic;
}

/* ===== Our Shop (stat grid) ===== */

.shop-section { padding: 5.5rem 0; background: var(--navy); color: var(--cream); }

.shop-section .section-eyebrow { color: var(--amber); }
.shop-section .section-title { color: #fff; }
.shop-section .section-lede { color: #cdd6e6; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.shop-cell {
  border-radius: 16px;
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-cell.photo {
  padding: 0;
  overflow: hidden;
  min-height: 260px;
}

.shop-cell.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
}

.shop-cell.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.shop-cell.stat .stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.shop-cell.stat .stat-label {
  color: #e4e9f2;
  font-size: 0.95rem;
}

.shop-cell.quote {
  background: var(--berry);
  text-align: center;
}

.shop-cell.quote p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.shop-cell.quote cite {
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* ===== Our Journey / About ===== */

.journey-section { padding: 5.5rem 0; background: #fff; }

.journey-text p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.journey-text .journey-lede {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.5;
}

.timeline {
  border-left: 3px solid var(--amber);
  padding-left: 1.75rem;
  margin-top: 1rem;
}

.timeline-item { margin-bottom: 1.6rem; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.28rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--berry);
  border: 2px solid var(--cream);
}

.timeline-year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--berry);
  font-size: 1.2rem;
  display: block;
}

.timeline-item p {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===== Join Our Team ===== */

.team-section { padding: 5.5rem 0; background: var(--cream-soft); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.team-cell {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 6px 20px rgba(28,44,76,0.07);
}

.team-cell .team-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.team-cell h5 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.team-cell p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.team-apply {
  text-align: center;
  margin-top: 2.5rem;
}

.team-apply .btn-hero-primary { display: inline-block; }

/* ===== FAQ ===== */

.faq-section { padding: 5rem 0; background: #fff; }

.faq-item {
  border-bottom: 1px solid rgba(28,44,76,0.12);
  padding: 1.5rem 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h5 {
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ===== Location ===== */

.location-section { padding: 5.5rem 0; background: var(--navy); color: var(--cream); }

.location-section .section-eyebrow { color: var(--amber); }
.location-section .section-title { color: #fff; }

.location-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
}

.location-card h5 {
  font-family: var(--font-head);
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.location-card p, .location-card a {
  color: #eef1f7;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.location-card a:hover { color: var(--amber); }

.location-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  font-size: 0.94rem;
}

.location-hours-row:last-child { border-bottom: none; }

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  height: 100%;
  min-height: 320px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ===== Footer ===== */

.site-footer {
  background: var(--navy-deep);
  color: #cdd6e6;
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
}

.footer-tagline {
  color: #9caac2;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: #cdd6e6;
  text-decoration: none;
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.93rem;
}

.footer-links a:hover { color: var(--amber); }

.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: #fff;
  margin-right: 0.6rem;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.footer-social a:hover { background: var(--amber); color: var(--navy-deep); }

.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9caac2;
}

.footer-powered a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}

.footer-powered a:hover { text-decoration: underline; }

/* ===== Responsive ===== */

@media (max-width: 767.98px) {
  .hero { min-height: 88vh; }
  .shop-grid, .team-grid { grid-template-columns: 1fr; }
  .shop-cell.photo { min-height: 220px; }
  .shop-cell.photo img { min-height: 220px; }
  .giftcard-banner .d-flex { flex-direction: column; text-align: center; gap: 1rem; }
}
