/* ============================================================
   BOLD COFFEE CLUB — Static Demo
   ============================================================ */

:root {
  --espresso: #1A0F0A;
  --cream:    #F5F0E8;
  --latte:    #C9A97A;
  --charcoal: #2D2D2D;
  --ash:      #8A8A8A;
  --white:    #FFFFFF;
  --border:   rgba(26,15,10,0.12);
  --font-d:   'Cormorant Garamond', Georgia, serif;
  --font-b:   'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--latte); color: var(--espresso); }

/* Lang hidden by default */
[lang="fr"] { display: none; }
body.fr [lang="en"] { display: none; }
body.fr [lang="fr"] { display: block; }
body.fr span[lang="fr"], body.fr a[lang="fr"], body.fr li[lang="fr"], body.fr p[lang="fr"] { display: inline; }

/* Typography helpers */
.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--latte);
  display: block;
  margin-bottom: 14px;
}
h1,h2,h3,h4 {
  font-family: var(--font-d);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.display { font-size: clamp(52px, 8vw, 110px); font-weight: 300; letter-spacing: -0.025em; }
.headline { font-size: clamp(32px, 4vw, 56px); }
.headline-sm { font-size: clamp(24px, 3vw, 40px); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 60px; } }

.section { padding: 80px 0; }
.section--lg { padding: 100px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } .section--lg { padding: 130px 0; } }

.grid-2 { display: grid; gap: 48px; }
.grid-3 { display: grid; gap: 28px; }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  border-radius: 6px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
}
.btn:hover { opacity: .87; transform: scale(1.01); }
.btn-primary { background: var(--latte); color: var(--espresso); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: transparent; border: 1.5px solid var(--espresso); color: var(--espresso); }
.btn-dark:hover { background: var(--espresso); color: var(--cream); }

/* ============================================================ HEADER */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(245,240,232,.93);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .header-inner { padding: 0 40px; } }

.logo {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--espresso);
}
.logo-light { color: #fff; }

nav.desktop { display: none; gap: 32px; align-items: center; }
@media (min-width: 900px) { nav.desktop { display: flex; } }
nav.desktop a {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color .2s;
  position: relative;
}
nav.desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--latte);
  transition: width .25s;
}
nav.desktop a:hover { color: var(--latte); }
nav.desktop a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 20px; }
.lang-btn {
  font-size: 13px; font-weight: 500; color: var(--ash);
  background: none; border: none; cursor: pointer;
  transition: color .2s; font-family: var(--font-b);
}
.lang-btn:hover { color: var(--espresso); }

/* Burger */
.burger { background: none; border: none; cursor: pointer; padding: 4px; display: flex; flex-direction: column; gap: 5px; }
@media (min-width: 900px) { .burger { display: none; } }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--espresso); transition: transform .25s, opacity .2s; }
#header.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#header.menu-open .burger span:nth-child(2) { opacity: 0; }
#header.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
#mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--espresso);
  display: flex; flex-direction: column;
  padding: 96px 40px 48px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
#mobile-nav.open { transform: translateX(0); }
#mobile-nav a {
  font-family: var(--font-d);
  font-size: 36px;
  color: rgba(255,255,255,.9);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
#mobile-nav a:hover { color: var(--latte); }
.mob-footer { margin-top: auto; }
.mob-lang { font-size: 14px; font-weight: 500; color: var(--latte); background: none; border: none; cursor: pointer; font-family: var(--font-b); }

/* ============================================================ HERO */
#hero {
  min-height: 100dvh;
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1800&q=85');
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,15,10,.92) 0%, rgba(26,15,10,.45) 50%, rgba(26,15,10,.12) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 24px 80px;
  max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .hero-content { padding: 0 40px 100px; } }
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content p { color: rgba(255,255,255,.75); font-size: clamp(16px,1.5vw,20px); max-width: 520px; margin-bottom: 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-hint span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,.3); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ============================================================ FEATURED */
#featured { background: var(--espresso); color: #fff; }
#featured .grid-2 { align-items: center; }
.featured-img { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.chip {
  padding: 6px 16px; border-radius: 99px; font-size: 11px;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(201,169,122,.15);
  border: 1px solid rgba(201,169,122,.3);
  color: var(--latte);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--latte);
  transition: gap .2s;
}
.link-arrow:hover { gap: 14px; }

/* ============================================================ ABOUT */
#about { background: var(--cream); text-align: center; }
#about .inner { max-width: 680px; margin: 0 auto; }
#about p { font-size: 18px; line-height: 1.75; color: var(--charcoal); margin-bottom: 32px; }

/* ============================================================ MENU PREVIEW */
#menu-preview { background: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.menu-card {
  padding: 28px; border-radius: 10px;
  background: var(--cream); border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.menu-card:hover { box-shadow: 0 8px 24px rgba(26,15,10,.1); transform: translateY(-2px); }
.menu-icon { font-size: 28px; margin-bottom: 14px; }
.menu-card h3 { font-family: var(--font-d); font-size: 22px; color: var(--espresso); margin-bottom: 6px; }
.menu-card p { font-size: 13px; color: var(--ash); line-height: 1.5; }

/* ============================================================ PHILOSOPHY */
#philosophy { background: var(--cream); }
.phil-block { display: grid; gap: 40px; align-items: center; }
@media (min-width: 768px) { .phil-block { grid-template-columns: 1fr 1fr; gap: 64px; } }
.phil-block.reverse .phil-img { order: 0; }
@media (min-width: 768px) { .phil-block.reverse .phil-img { order: 2; } }
.phil-img { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.phil-img img { width: 100%; height: 100%; object-fit: cover; }
.phil-text h2 { font-family: var(--font-d); font-size: clamp(26px,3.5vw,44px); color: var(--espresso); margin-bottom: 18px; }
.phil-text p { font-size: 17px; color: var(--charcoal); line-height: 1.75; }
.phil-block + .phil-block { margin-top: 72px; }

/* ============================================================ TESTIMONIALS */
#testimonials { background: #fff; }
.testi-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 10px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.stars { color: var(--latte); font-size: 14px; letter-spacing: 2px; }
.quote { font-family: var(--font-d); font-size: 19px; font-style: italic; color: var(--espresso); line-height: 1.45; flex: 1; }
.author-name { font-weight: 600; font-size: 14px; }
.author-role { font-size: 13px; color: var(--ash); }

/* ============================================================ INSTAGRAM */
#instagram { background: var(--cream); text-align: center; }
.ig-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 40px 0; }
@media (min-width: 600px) { .ig-grid { grid-template-columns: repeat(3,1fr); } }
.ig-item { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ig-item:hover img { transform: scale(1.06); }
.ig-overlay {
  position: absolute; inset: 0; background: rgba(26,15,10,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-icon { font-size: 28px; color: #fff; }

/* ============================================================ LOCATION */
#location { background: var(--espresso); color: #fff; }
#location .grid-2 { align-items: start; }
.map-wrap { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-info { display: flex; flex-direction: column; gap: 28px; }
.loc-row { display: flex; gap: 16px; }
.loc-icon { flex-shrink: 0; margin-top: 3px; opacity: .7; }
.loc-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--latte); margin-bottom: 8px; }
.loc-value { color: rgba(255,255,255,.85); line-height: 1.6; font-size: 15px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.hours-day { color: rgba(255,255,255,.55); }
.hours-time { color: rgba(255,255,255,.9); font-weight: 500; }

/* ============================================================ NEWSLETTER */
#newsletter { background: var(--cream); text-align: center; }
.nl-inner { max-width: 560px; margin: 0 auto; }
.nl-inner p { color: var(--ash); font-size: 16px; margin-bottom: 32px; }
.nl-form { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 500px) { .nl-form { flex-direction: row; } }
.nl-form input {
  flex: 1; height: 48px; padding: 0 18px; border-radius: 6px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 14px; font-family: var(--font-b); color: var(--espresso);
  outline: none; transition: border-color .2s;
}
.nl-form input:focus { border-color: var(--latte); }
.nl-consent { display: flex; align-items: center; gap: 10px; margin-top: 10px; justify-content: center; }
.nl-consent input { width: 16px; height: 16px; cursor: pointer; }
.nl-consent label { font-size: 12px; color: var(--ash); cursor: pointer; }
.nl-success { display: none; padding: 14px 20px; border-radius: 6px; background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.25); color: #27AE60; font-size: 14px; }

/* ============================================================ FOOTER */
footer {
  background: var(--espresso); color: rgba(255,255,255,.8);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; gap: 40px; margin-bottom: 52px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-logo { font-family: var(--font-d); font-size: 18px; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--latte); transition: opacity .2s; }
.footer-ig:hover { opacity: .65; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--latte); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.footer-contact-row a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contact-row a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================ BACK TO TOP */
#back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--espresso); color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
#back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-top:hover { background: #2d1a10; }

/* ============================================================ MENU PAGE */
.menu-page-grid { display: grid; gap: 20px; }
@media (min-width: 600px) { .menu-page-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .menu-page-grid { grid-template-columns: repeat(3,1fr); } }

.item-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: box-shadow .2s, transform .18s;
}
.item-card:hover { box-shadow: 0 8px 24px rgba(26,15,10,.1); transform: translateY(-2px); }
.item-card-img { aspect-ratio: 4/3; overflow: hidden; }
.item-card-img img { width: 100%; height: 100%; object-fit: cover; }
.item-card-body { padding: 18px; }
.item-card-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 6px; }
.item-name { font-family: var(--font-d); font-size: 20px; color: var(--espresso); }
.item-price { font-size: 14px; font-weight: 500; color: var(--latte); white-space: nowrap; }
.item-desc { font-size: 13px; color: var(--ash); line-height: 1.55; margin-bottom: 10px; }
.item-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 3px 10px;
  border-radius: 99px;
}
.tag-vegan { background: rgba(39,174,96,.12); color: #27AE60; }
.tag-seasonal { background: rgba(142,68,173,.12); color: #8E44AD; }
.tag-popular { background: rgba(201,169,122,.15); color: var(--latte); }
.tag-gf { background: rgba(41,128,185,.12); color: #2980B9; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
  border-bottom: 1px solid var(--border); padding-bottom: 20px;
}
.filter-btn {
  padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 500;
  border: none; background: transparent; color: var(--charcoal);
  cursor: pointer; transition: background .18s, color .18s; font-family: var(--font-b);
}
.filter-btn.active, .filter-btn:hover { background: var(--espresso); color: #fff; }

.menu-note {
  margin-top: 32px; padding: 18px 22px; border-radius: 8px;
  background: rgba(201,169,122,.1); border: 1px solid rgba(201,169,122,.22);
  font-size: 14px; color: var(--charcoal);
}
.menu-note strong { color: var(--latte); }

/* Page hero (inner pages) */
.page-hero {
  min-height: 55vh; position: relative; display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,15,10,.88) 0%, rgba(26,15,10,.28) 100%);
}
.page-hero-content { position: relative; z-index: 2; width: 100%; padding: 0 24px 56px; }
@media (min-width: 768px) { .page-hero-content { padding: 0 40px 72px; } }
.page-hero-content h1 { color: #fff; }

/* Utility */
.text-center { text-align: center; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ============================================================ MEDIA */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
