/* ═══════════════════════════════════════════
   8 Pack — Café & Bar · Philadelphia
   Custom styles
   ═══════════════════════════════════════════ */

/* ── Reset & base ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility ─────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.hidden { display: none !important; }

/* ── Section shared ──────────────────────── */
.section { padding: 6rem 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: #0d9488;
  border-radius: 999px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1.5rem;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  border: 2px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
}
.btn-primary:hover { background: #0f766e; border-color: #0f766e; box-shadow: 0 8px 24px rgba(13,148,136,.3); }
.btn-outline {
  background: transparent;
  color: #0d9488;
  border-color: #0d9488;
}
.btn-outline:hover { background: #f0fdfa; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ──────────────────────────── */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .3s, box-shadow .3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .375rem;
  text-decoration: none;
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #0d9488;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: .625rem;
}
.nav-logo-word {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #0f172a;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  padding: .5rem 1rem;
  color: #334155;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  border-radius: .5rem;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #0d9488; background: #f0fdfa; }
.nav-cta-btn {
  margin-left: .5rem;
  padding: .625rem 1.375rem;
  background: #0d9488;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  transition: background .2s, box-shadow .2s;
}
.nav-cta-btn:hover { background: #0f766e; box-shadow: 0 4px 12px rgba(13,148,136,.3); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  color: #0f172a;
}

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #f5f5f0;
  overflow: hidden;
  padding-top: 4.5rem;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(13,148,136,.07) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-left { padding-right: 1rem; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem 1rem;
  background: #fff;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  color: #334155;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 1.75rem;
}
.hero-tag-dot {
  width: .5rem;
  height: .5rem;
  background: #0d9488;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #0f172a;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.hero-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: .125rem; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d9488;
  line-height: 1;
}
.hero-stat-label { font-size: .8125rem; color: #64748b; }
.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: #e2e8f0;
}
.hero-note { font-size: .8125rem; color: #94a3b8; margin-top: .75rem; }

/* Hero images */
.hero-img-stack { position: relative; }
.hero-img { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.12); }
.hero-img-main { width: 100%; }
.hero-img-float {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  width: 55%;
  border: 6px solid #f5f5f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: #0d9488;
  color: #fff;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(13,148,136,.4);
}
.hero-badge svg { flex-shrink: 0; }

/* ── About ───────────────────────────────── */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.1); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 55%;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-content { max-width: 520px; }
.about-content p { font-size: 1.0625rem; line-height: 1.75; color: #475569; margin: 0 0 1.25rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: #f0fdfa;
  border-radius: .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: #0f766e;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d9488;
  color: #fff;
  border-radius: .625rem;
}

/* ── Menu ────────────────────────────────── */
.menu { background: #f5f5f0; }
.menu-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.menu-intro { font-size: 1.0625rem; line-height: 1.7; color: #475569; }
.menu-intro em { color: #0d9488; font-style: normal; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.menu-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.menu-card-header { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.5rem; }
.menu-card-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0fdfa;
  color: #0d9488;
  border-radius: .875rem;
  flex-shrink: 0;
}
.menu-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f1f5f9;
}
.menu-list li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-item-name { font-weight: 600; color: #0f172a; font-size: .9375rem; }
.menu-item-desc { font-size: .8125rem; color: #64748b; white-space: nowrap; }
.menu-footer { text-align: center; font-size: .875rem; color: #94a3b8; font-style: italic; }

/* ── Vibe ────────────────────────────────── */
.vibe { background: #fff; }
.vibe-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vibe-card {
  background: #f5f5f0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.vibe-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.vibe-card-img { height: 220px; overflow: hidden; }
.vibe-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vibe-card:hover .vibe-card-img img { transform: scale(1.05); }
.vibe-card-body { padding: 1.75rem; }
.vibe-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 .75rem;
}
.vibe-card-body p { font-size: .9375rem; line-height: 1.7; color: #475569; margin: 0; }

/* ── Visit / Contact ─────────────────────── */
.visit { background: #0f172a; color: #fff; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.visit .section-label { color: #2dd4bf; }
.visit .section-label::before { background: #2dd4bf; }
.visit .section-heading { color: #fff; }
.visit-address {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.visit-address-row { display: flex; flex-direction: column; gap: .25rem; }
.visit-address-label {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8;
}
.visit-address-row span,
.visit-address-row a {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #e2e8f0;
  text-decoration: none;
}
.visit-address-row a:hover { color: #2dd4bf; }
.visit-form-wrap { max-width: 480px; }
.visit-form-card {
  background: #1e293b;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.visit-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5rem;
}
.visit-form-subtitle { font-size: .9375rem; color: #94a3b8; margin: 0 0 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: .5rem;
}
.form-input {
  width: 100%;
  padding: .875rem 1rem;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: .75rem;
  color: #f1f5f9;
  font-size: .9375rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input::placeholder { color: #64748b; }
.form-input:focus { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,.2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  border-radius: .75rem;
  color: #2dd4bf;
  font-size: .9375rem;
  font-weight: 500;
}
.form-success svg { flex-shrink: 0; }

/* ── Footer ──────────────────────────────── */
.footer { background: #0a0f1a; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e293b;
}
.footer-brand .nav-logo-mark { background: #0d9488; }
.footer-brand .nav-logo-word { color: #fff; }
.footer-tagline { font-size: .9375rem; color: #64748b; margin-top: .75rem; }
.footer-heading {
  font-size: .8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e2e8f0;
  margin: 0 0 1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: .9375rem; transition: color .2s; }
.footer-links a:hover { color: #2dd4bf; }
.footer-contact p { margin: 0 0 .5rem; font-size: .9375rem; line-height: 1.6; }
.footer-contact a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: #2dd4bf; }
.footer-bottom { padding-top: 2rem; text-align: center; font-size: .8125rem; color: #475569; }

/* ── Scroll-reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-left { padding-right: 0; order: 1; }
  .hero-right { order: 2; max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { max-width: 520px; }
  .menu-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .vibe-grid { grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: 3rem; }
  .visit-form-wrap { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-links {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250,250,248,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: .25rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: 1rem; font-size: 1.125rem; border-radius: .75rem; }
  .nav-cta-btn { margin-left: 0; text-align: center; padding: 1rem; font-size: 1.125rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding-top: 4.5rem; min-height: auto; padding-bottom: 3rem; }
  .hero-img-float { left: -.5rem; bottom: -1rem; width: 50%; }
  .about-img-secondary { width: 50%; right: -.75rem; bottom: -1.25rem; }
  .about-features { grid-template-columns: 1fr; }
  .vibe-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-headline { font-size: 2.125rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-stat-divider { width: 2rem; height: 1px; }
  .visit-form-card { padding: 1.75rem; }
}
