/* ==========================================================================
   Finjan Qahwa — Arabic Coffee House
   Design tokens
   ========================================================================== */

:root {
  /* Color */
  --green:        #0B4432;
  --green-dark:   #082F24;
  --green-darker: #051D16;
  --gold:         #BF9B30;
  --gold-light:   #E7C874;
  --brick:        #9C3B2E;
  --brown:        #3A2A1C;
  --brown-soft:   #6b543f;
  --cream:        #F7EFDD;
  --cream-card:   #FFFCF4;
  --cream-line:   #e6d9bd;

  /* Type */
  --font-display: 'Amiri', 'Georgia', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius: 4px;
  --shadow-card: 0 2px 14px rgba(58, 42, 28, 0.10);
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

.btn-gold {
  background: var(--gold);
  color: var(--green-darker);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-dark:hover { background: var(--green); color: #fff; }

/* Header / nav ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-darker);
  border-bottom: 1px solid rgba(231, 200, 116, 0.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand-logo { height: 46px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #EFE6D2;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--green-darker);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 28px 18px;
    display: none;
    border-bottom: 1px solid rgba(231, 200, 116, 0.25);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: inline-block; }
}

/* Divider motif — 8-point star repeat ----------------------------------- */

.star-divider {
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cg fill='none' stroke='%23BF9B30' stroke-width='1.1' opacity='0.55'%3E%3Cpath d='M14 3 L16.2 9.2 L22.5 9.2 L17.3 12.8 L19.4 19 L14 15.2 L8.6 19 L10.7 12.8 L5.5 9.2 L11.8 9.2 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 28px 22px;
}

/* Hero -------------------------------------------------------------------*/

.hero {
  background: linear-gradient(180deg, var(--green-darker) 0%, var(--green) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin: 0.25em 0 0.3em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-size: 1.08rem;
  color: #E9DFC7;
  max-width: 46ch;
  margin-bottom: 1.7em;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art svg { width: 100%; max-width: 340px; height: auto; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 40px; }
  .hero-art { order: -1; max-width: 220px; margin: 0 auto; }
}

/* Sections ---------------------------------------------------------------*/

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--cream-card); }

.section-head { max-width: 640px; margin-bottom: 2.4em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }

/* Cards / grids ------------------------------------------------------- */

.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.feature-card .price { color: var(--brick); font-weight: 600; font-family: var(--font-body); }
.feature-card p.desc { color: var(--brown-soft); font-size: 0.92rem; margin-bottom: 0.5em; }

/* Menu ---------------------------------------------------------------- */

.menu-jump {
  position: sticky;
  top: 62px;
  z-index: 90;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-line);
  padding: 14px 0;
  overflow-x: auto;
}
.menu-jump .wrap { display: flex; gap: 10px; flex-wrap: nowrap; }
.menu-jump a {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  padding: 7px 14px;
  border-radius: 999px;
}
.menu-jump a:hover { background: var(--gold-light); border-color: var(--gold-light); }

.menu-category { padding: 46px 0 10px; scroll-margin-top: 130px; }
.menu-category h2 {
  font-size: 1.7rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 6px;
  display: inline-block;
}
.menu-category .cat-note { color: var(--brown-soft); font-size: 0.85rem; margin-bottom: 1.6em; }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
@media (max-width: 700px) { .menu-list { grid-template-columns: 1fr; } }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--cream-line);
}
.menu-item-name { font-weight: 600; color: var(--brown); }
.menu-item-desc { display: block; font-weight: 400; font-size: 0.83rem; color: var(--brown-soft); margin-top: 2px; }
.menu-item-price {
  white-space: nowrap;
  font-family: var(--font-body);
  color: var(--brick);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Gallery --------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }

.ph-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ph-tile span.cap {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.ph-tile svg { width: 34px; height: 34px; opacity: 0.85; }
.ph-1 { background: linear-gradient(135deg, var(--green), var(--green-darker)); }
.ph-2 { background: linear-gradient(135deg, var(--brick), #6d2620); }
.ph-3 { background: linear-gradient(135deg, var(--gold), #8a6c1f); }
.ph-4 { background: linear-gradient(135deg, var(--brown), #22160e); }
.ph-5 { background: linear-gradient(135deg, #6d2620, var(--brown)); }
.ph-6 { background: linear-gradient(135deg, var(--green-darker), var(--brick)); }

/* Info blocks (hours/location) ------------------------------------------ */

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-line);
  font-size: 0.95rem;
}
.info-row .day { font-weight: 600; }

.map-frame {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  min-height: 320px;
  box-shadow: var(--shadow-card);
}

/* Forms ------------------------------------------------------------------*/

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-line);
  border-radius: var(--radius);
  background: var(--cream-card);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
}

/* Featured spotlight ------------------------------------------------------*/

.spotlight { padding: 60px 0; }
.spotlight-frame {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 12px 34px rgba(58, 42, 28, 0.25);
  position: relative;
}
.spotlight-frame img { width: 100%; display: block; }
.spotlight-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--brick);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.spotlight-caption {
  text-align: center;
  margin-top: 1.2em;
  color: var(--brown-soft);
  font-size: 0.92rem;
}

/* CTA band ---------------------------------------------------------------*/

.cta-band {
  background: var(--brick);
  color: #fff;
  padding: 54px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #F4E3DD; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--green-darker);
  color: #cfc4a6;
  padding: 54px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr;
  gap: 34px;
  margin-bottom: 34px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.site-footer a { color: #cfc4a6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { color: #cfc4a6; }
.footer-bottom {
  border-top: 1px solid rgba(231,200,116,0.18);
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #97896a;
}

/* Utility ----------------------------------------------------------------*/

.mt-0 { margin-top: 0; }
.center { text-align: center; }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(55, 93, 27, 0.09);
  padding: 5px 11px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
