/* Kafé Avra — Coffee Shop. Warm amber & cream, cozy & professional */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --espresso: #2E1C16;
  --coffee: #5B3A2A;
  --amber: #C8823A;
  --amber-light: #F3DCB8;
  --cream: #FBF3E7;
  --cream-deep: #F2E4CC;
  --green: #5C7A52;
  --ink: #2A1E16;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Manrope', sans-serif;
}

body { background: var(--cream); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; }

/* ---- Nav ---- */
.site-nav { color: var(--espresso); mix-blend-mode: normal; }
.site-nav.scrolled { background: var(--cream); box-shadow: 0 6px 24px -10px rgba(46,28,22,0.18); }
.site-nav .brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--espresso); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--espresso); margin: 5px 0; }
.mobile-menu {
  position: fixed; inset: 0; background: var(--espresso); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateY(-100%); transition: transform 0.45s cubic-bezier(.65,0,.35,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: var(--amber-light); font-size: 1.4rem; font-family: var(--font-display); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--espresso); color: var(--cream); overflow: hidden; padding-top: 6rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 80%, rgba(200,130,58,0.35), transparent 55%),
              radial-gradient(circle at 85% 10%, rgba(200,130,58,0.18), transparent 50%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); line-height: 1.08; margin: 0.7rem 0 1.2rem; }
.hero h1 i { color: var(--amber); }
.hero p.lede { color: var(--amber-light); font-size: 1.08rem; max-width: 460px; line-height: 1.65; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--amber); color: var(--espresso); box-shadow: 0 14px 30px -10px rgba(200,130,58,0.55); }
.btn-primary:hover { background: #DA9650; }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--cream); border: 1.5px solid rgba(243,220,184,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.cup-wrap { position: relative; width: 78%; }
.cup-wrap img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6); border: 6px solid rgba(243,220,184,0.15); }
.steam { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 10px; height: 70px; }
.steam i { position: absolute; bottom: 0; width: 7px; height: 7px; border-radius: 50%; background: rgba(243,220,184,0.55); animation: rise 3s ease-in infinite; }
.steam i:nth-child(2) { left: 12px; animation-delay: 0.9s; }
.steam i:nth-child(3) { left: -10px; animation-delay: 1.8s; }
@keyframes rise { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 30% { opacity: 0.85; } 100% { transform: translateY(-80px) scale(1.5); opacity: 0; } }
.ring-orbit { position: absolute; inset: -22px; border: 1.5px dashed rgba(200,130,58,0.5); border-radius: 50%; }

/* ---- Beans divider ---- */
.divider-band { background: var(--amber); padding: 1rem 0; overflow: hidden; }
.divider-band .marquee { display: flex; gap: 3rem; white-space: nowrap; animation: scrollMarquee 24s linear infinite; }
.divider-band span { font-family: var(--font-display); font-size: 1.1rem; color: var(--espresso); }
.divider-band span::after { content: '●'; margin-left: 3rem; color: var(--cream); font-size: 0.6rem; vertical-align: middle; }
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Sections ---- */
section { padding: 6.5rem 0; }
.bg-cream-deep { background: var(--cream-deep); }
.bg-espresso { background: var(--espresso); color: var(--cream); }
.section-head { max-width: 620px; margin-bottom: 3rem; }
.section-head .eyebrow { color: var(--amber); }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0.5rem 0 0.8rem; }

/* ---- Story ---- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.story-imgs { position: relative; }
.story-imgs img { border-radius: 20px; width: 100%; }
.story-imgs .img-b { position: absolute; width: 52%; bottom: -10%; left: -12%; border: 6px solid var(--cream); border-radius: 16px; box-shadow: 0 20px 40px -14px rgba(46,28,22,0.4); }
.story-text p { line-height: 1.75; color: var(--coffee); margin-bottom: 1.1rem; }
.stat-row { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat b { font-family: var(--font-display); font-size: 2rem; color: var(--espresso); display: block; }
.stat span { font-size: 0.85rem; color: var(--coffee); }

/* ---- Menu ---- */
.menu-tabs { display: flex; gap: 0.8rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.menu-tabs span { padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--cream); font-size: 0.85rem; font-weight: 600; color: var(--coffee); border: 1.5px solid var(--amber-light); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.menu-card {
  background: var(--cream); border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: 0 16px 36px -22px rgba(46,28,22,0.35);
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1), box-shadow 0.45s ease;
}
.menu-card:hover { transform: translateY(-9px) rotate(-0.4deg); box-shadow: 0 26px 48px -20px rgba(46,28,22,0.45); }
.menu-card .img-wrap { aspect-ratio: 5/4; overflow: hidden; }
.menu-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-card:hover .img-wrap img { transform: scale(1.08); }
.menu-card .body { padding: 1.4rem 1.5rem 1.7rem; }
.menu-card h3 { margin: 0 0 0.4rem; font-size: 1.25rem; color: var(--espresso); }
.menu-card p { margin: 0 0 0.9rem; font-size: 0.9rem; color: var(--coffee); line-height: 1.55; }
.price { position: absolute; top: 1rem; right: 1rem; background: var(--espresso); color: var(--amber-light); font-weight: 700; font-size: 0.85rem; padding: 0.35rem 0.8rem; border-radius: 999px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-grid a { border-radius: 16px; overflow: hidden; aspect-ratio: 1; position: relative; display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-grid a:hover img { transform: scale(1.12); }
.gallery-grid a:nth-child(2) { grid-row: span 2; }

/* ---- Testimonial ---- */
.testi-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.testi-wrap .stars { color: var(--amber); font-size: 1.3rem; letter-spacing: 0.2rem; margin-bottom: 1.2rem; }
.testi-wrap blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.5; margin: 0 0 1.2rem; }
.testi-wrap cite { font-style: normal; font-weight: 600; opacity: 0.8; }

/* ---- CTA ---- */
.cta-band {
  background: linear-gradient(120deg, var(--coffee), var(--espresso));
  border-radius: 28px; padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden; color: var(--cream);
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 1rem; }
.cta-band p { color: var(--amber-light); margin-bottom: 1.8rem; }
.cta-band .btn { background: var(--amber); color: var(--espresso); }
.cta-band .ring { position: absolute; border: 1px solid rgba(243,220,184,0.18); border-radius: 50%; }
.cta-band .ring.r1 { width: 320px; height: 320px; top: -120px; left: -100px; }
.cta-band .ring.r2 { width: 220px; height: 220px; bottom: -100px; right: -60px; }

/* ---- Footer ---- */
.site-footer { background: var(--espresso); color: var(--amber-light); }
.site-footer a { opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.site-footer h4 { font-family: var(--font-display); margin: 0 0 1rem; color: var(--cream); }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.site-footer .footer-grid { border-bottom: 1px solid rgba(243,220,184,0.18); }
.builder-credit a { color: var(--amber); }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .story-grid { grid-template-columns: 1fr; }
  .story-imgs .img-b { left: 4%; bottom: -8%; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
}
