/* ===========================================================
   Fahari Kanzu House — stylesheet
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --cream: #f6efde;
  --parchment: #ece0c5;
  --maroon: #6b1f2a;
  --maroon-deep: #4c151d;
  --gold: #b08d3e;
  --gold-light: #d3b56a;
  --ink: #2b2320;

  --display: 'Playfair Display', serif;
  --body: 'Work Sans', sans-serif;

  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--maroon-deep);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

/* Four-item navbar */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--parchment);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(246,239,222,0.1); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline-dark:hover { background: rgba(107,31,42,0.06); }

/* ---------- Embroidery-line divider (signature element) ---------- */

.embroidery-divider {
  display: block;
  width: 100%;
  height: 22px;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--maroon-deep);
  color: var(--cream);
  padding-top: 68px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.hero p.lede {
  font-size: 1.08rem;
  color: var(--parchment);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 300px; height: auto; }

.hero-art img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(176,141,62,0.4);
}

/* ---------- Sections ---------- */

section { padding: 70px 0; }

.section-head { max-width: 60ch; margin: 0 0 44px; }
.section-head .eyebrow { color: var(--maroon); }

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--maroon-deep);
}

.section-head p { color: #4a3d33; font-size: 1.02rem; margin: 0; }

/* ---------- Product / category cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--parchment);
  border: 1px solid rgba(43,35,32,0.12);
  border-radius: 3px;
  overflow: hidden;
}

.card-art {
  height: 190px;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-art svg { width: 70px; height: 70px; }

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body { padding: 24px 24px 28px; }

.card .tag {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  display: inline-block;
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--maroon-deep);
}

.card p { margin: 0 0 14px; color: #4a3d33; font-size: 0.95rem; }

.card .price {
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

/* ---------- Quote / heritage block ---------- */

.heritage { background: var(--maroon-deep); color: var(--cream); }

.heritage .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.heritage blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  margin: 0 0 18px;
}

.heritage cite {
  font-style: normal;
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.heritage-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(246,239,222,0.18); }

.heritage-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(246,239,222,0.18);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}

.heritage-list .tag {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.heritage-list p { margin: 0; color: var(--parchment); font-size: 0.95rem; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--gold); color: var(--ink); text-align: center; }

.cta-band h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 18px;
}

.cta-band p { margin: 0 0 26px; color: rgba(43,35,32,0.8); }

/* ---------- Footer ---------- */

.site-footer { background: var(--maroon-deep); color: var(--parchment); padding: 48px 0 28px; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }

.footer-grid h4 { font-family: var(--display); font-size: 1rem; color: var(--gold-light); margin: 0 0 14px; }

.footer-grid p, .footer-grid address { margin: 0 0 8px; font-size: 0.92rem; font-style: normal; color: var(--parchment); }

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; font-size: 0.92rem; color: var(--parchment); }
.footer-grid a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(246,239,222,0.18);
  padding-top: 18px;
  font-size: 0.82rem;
  color: rgba(246,239,222,0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Inner page hero (About / Products / Contact) ---------- */

.page-hero { background: var(--maroon-deep); color: var(--cream); padding: 58px 0 62px; }

.page-hero h1 { font-family: var(--display); font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 0 0 16px; }

.page-hero p { max-width: 58ch; color: var(--parchment); font-size: 1.03rem; margin: 0; }

/* ---------- About page ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }

.split h2 { font-family: var(--display); font-size: 1.55rem; color: var(--maroon-deep); margin: 0 0 16px; }
.split p { color: #4a3d33; margin: 0 0 16px; }

.values-list { list-style: none; margin: 0; padding: 0; }
.values-list li {
  padding: 20px 0;
  border-top: 1px solid rgba(43,35,32,0.15);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
}
.values-list li:last-child { border-bottom: 1px solid rgba(43,35,32,0.15); }
.values-list .tag {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
}
.values-list h3 { font-family: var(--display); font-size: 1.08rem; margin: 0 0 6px; color: var(--maroon-deep); }
.values-list p { margin: 0; color: #4a3d33; font-size: 0.93rem; }

/* ---------- Products page ---------- */

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-pill {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  background: transparent;
}

.filter-pill.active { background: var(--maroon); color: var(--cream); }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }

.contact-grid h2 { font-family: var(--display); font-size: 1.4rem; color: var(--maroon-deep); margin: 0 0 20px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(43,35,32,0.25);
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink);
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field textarea:focus,
.field select:focus,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.info-block { margin-bottom: 30px; }
.info-block h3 { font-family: var(--display); font-size: 1.05rem; color: var(--maroon-deep); margin: 0 0 8px; }
.info-block p, .info-block address { margin: 0; color: #4a3d33; font-size: 0.95rem; font-style: normal; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.93rem; color: #4a3d33; }
.hours-list .tag { font-family: var(--body); font-weight: 600; color: var(--maroon-deep); }

/* ---------- WhatsApp floating button ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 30;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-inline svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav { display: none; }

  .hero .wrap,
  .heritage .wrap,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-art { order: -1; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- WhatsApp floating button ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 50;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 2px;
  margin-top: 6px;
}

.whatsapp-inline:hover { background: #20bd5a; }
.whatsapp-inline svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}