/* Pure Bean Sharjah — concept site by Beans Digital
   Palette: warm roast browns + cream (coffee & bakery) with a matcha-green
   accent, because matcha drinks are the shop's signature per reviews. */

:root {
  --cream: #faf4ea;
  --paper: #fffdf8;
  --espresso: #342218;
  --roast: #6b4a35;
  --latte: #c9a888;
  --matcha: #5f7f45;
  --matcha-soft: #e4ecd8;
  --amber: #e0a24b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(52, 34, 24, 0.12);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--espresso);
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--roast); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* Concept banner */
.concept-banner {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
  line-height: 1.4;
}
.concept-banner strong { color: var(--amber); font-weight: 700; }

/* Header / nav */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid rgba(52, 34, 24, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--espresso);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand .bean-dot {
  width: 12px; height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--matcha);
  display: inline-block;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.site-nav a {
  text-decoration: none;
  color: var(--roast);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover { background: var(--matcha-soft); }
.site-nav a[aria-current="page"] {
  background: var(--espresso);
  color: var(--cream);
}

/* Hero */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse at 85% 10%, var(--matcha-soft) 0%, transparent 55%),
    var(--cream);
}
.hero .eyebrow {
  display: inline-block;
  background: var(--matcha-soft);
  color: var(--matcha);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 34em;
  color: var(--roast);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--espresso);
}
.btn-solid { background: var(--espresso); color: var(--cream); }
.btn-solid:hover { background: var(--roast); border-color: var(--roast); }
.btn-ghost { color: var(--espresso); background: transparent; }
.btn-ghost:hover { background: var(--matcha-soft); }
.btn-matcha { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.btn-matcha:hover { filter: brightness(1.08); }

/* Sections */
section { padding: 48px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head .kicker {
  color: var(--matcha);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

/* Card grids — auto-fit so no orphan cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid rgba(52, 34, 24, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--cream); }
.card .icon { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: var(--roast); font-size: 0.98rem; }

/* Menu */
.menu-note {
  background: var(--matcha-soft);
  border-left: 4px solid var(--matcha);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.menu-group { margin-bottom: 36px; }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-items li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(52, 34, 24, 0.2);
}
.menu-items .name { font-weight: 700; }
.menu-items .desc { color: var(--roast); font-size: 0.95rem; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--matcha);
  color: #fff;
  border-radius: 999px;
  padding: 2px 9px;
  vertical-align: middle;
}

/* Photo placeholders — no stock images per Beans Digital policy */
.photo-slot {
  background: repeating-linear-gradient(
    -45deg, var(--latte), var(--latte) 12px,
    #d7b998 12px, #d7b998 24px);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso);
}
.photo-slot span {
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(52, 34, 24, 0.08);
}
.hours-table th { background: var(--espresso); color: var(--cream); }
.hours-table tr:last-child td { border-bottom: none; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { flex: 0 0 auto; margin-top: 3px; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--latte);
  padding: 36px 0;
  font-size: 0.92rem;
}
.site-footer a { color: var(--cream); }
.site-footer .credit { margin-top: 14px; font-size: 0.8rem; opacity: 0.8; }

/* Reveal animation (JS adds .reveal; content fully visible with JS off) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .whatsapp-float:hover { transform: none; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 0 32px; }
  section { padding: 36px 0; }
}
