/* Bareed Cafe (مقهى البريد) — concept site by Beans Digital
   Palette: aged paper + clay/terracotta + ink + muted olive, drawn from the
   cafe's post-office ("bareed" = mail) theme and the earthy, rustic interiors
   customers repeatedly praise. Stamp-perforation borders and a postmark motif
   carry the postal identity. */

:root {
  --paper: #f4ecdd;
  --paper-light: #fbf6ec;
  --ink: #2b241c;
  --clay: #9c4a2f;
  --clay-dark: #7c3a24;
  --olive: #6f6b4e;
  --sand: #d8c9ab;
  --radius: 10px;
  --shadow: 0 10px 28px rgba(43, 36, 28, 0.14);
  --maxw: 1080px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", 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: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.45em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.35rem; }

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

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

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

/* Header / nav */
.site-header {
  background: var(--paper-light);
  border-bottom: 2px solid var(--ink);
  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: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .ar { font-size: 0.95rem; color: var(--clay); font-family: "Jost", sans-serif; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--sand); }
.site-nav a[aria-current="page"] {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

/* Postmark motif */
.postmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 110px;
  height: 110px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 10px;
  transform: rotate(-8deg);
  opacity: 0.85;
}

/* Hero */
.hero {
  padding: 60px 0 52px;
  background:
    linear-gradient(rgba(244, 236, 221, 0.55), rgba(244, 236, 221, 0.55)),
    repeating-linear-gradient(0deg, transparent, transparent 34px, rgba(43,36,28,0.045) 34px, rgba(43,36,28,0.045) 35px);
}
.hero .wrap { display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: center; }
.hero .eyebrow {
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 12px;
}
.hero p.lead { font-size: 1.15rem; max-width: 33em; color: #574b3a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}
.btn-solid { background: var(--clay); border-color: var(--clay); color: var(--paper-light); }
.btn-solid:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--sand); }

/* Sections */
section { padding: 50px 0; }
.section-alt { background: var(--paper-light); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.section-head { max-width: 42em; margin-bottom: 28px; }
.section-head .kicker {
  color: var(--clay);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

/* Stamp-style cards: dashed "perforation" border */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper-light);
  border: 2px dashed var(--sand);
  outline: 6px solid var(--paper-light);
  outline-offset: -8px;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--paper); outline-color: var(--paper); }
.card .icon { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: #574b3a; font-size: 0.98rem; }

/* Menu */
.menu-note {
  background: var(--sand);
  border-left: 4px solid var(--clay);
  padding: 12px 16px;
  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(43, 36, 28, 0.3);
}
.menu-items .name { font-weight: 600; font-size: 1.05rem; }
.menu-items .desc { color: #574b3a; font-size: 0.95rem; }
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--clay);
  color: var(--paper-light);
  border-radius: 3px;
  padding: 2px 9px;
  vertical-align: middle;
}

/* Photo placeholders */
.photo-slot {
  background:
    repeating-linear-gradient(-45deg, var(--sand), var(--sand) 12px, #cdbb97 12px, #cdbb97 24px);
  border: 2px dashed var(--olive);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot span {
  background: var(--paper-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-light);
  box-shadow: var(--shadow);
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sand);
}
.hours-table th { background: var(--ink); color: var(--paper); letter-spacing: 0.06em; }
.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(--ink);
  color: var(--sand);
  padding: 36px 0;
  font-size: 0.92rem;
}
.site-footer a { color: var(--paper); }
.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: 640px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .postmark { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0 32px; }
  section { padding: 36px 0; }
}

/* Owner photos */
.site-photo{width:100%;height:100%;min-height:220px;object-fit:cover;border-radius:var(--radius);display:block}
