/* =========================================================
   Furniture - shared stylesheet (all pages)
   Pastel light theme. Each page sets its own tone through
   <body class="tone-sofa"> etc.
   ========================================================= */

:root {
  /* base */
  --bg: #fffaf7;
  --sf: #ffffff;
  --ink: #3b3340;
  --mu: #7b7283;
  --ln: #efe6ec;
  --r: 20px;

  /* pastel palette */
  --peach: #fde3d3;
  --peach-d: #f6c4a8;
  --mint: #d8f0e3;
  --mint-d: #a9dcc3;
  --lav: #e7e0f8;
  --lav-d: #c6b8ec;
  --butter: #fdf0c4;
  --butter-d: #f3da8a;
  --sky: #dcebf9;
  --sky-d: #aed0ee;
  --rose: #fcdde7;
  --rose-d: #f2b4c9;

  /* default tone (home) */
  --tone: var(--peach);
  --tone-d: var(--peach-d);
}

.tone-home     { --tone: var(--peach);  --tone-d: var(--peach-d); }
.tone-sofa     { --tone: var(--peach);  --tone-d: var(--peach-d); }
.tone-kitchen  { --tone: var(--mint);   --tone-d: var(--mint-d); }
.tone-wardrobe { --tone: var(--lav);    --tone-d: var(--lav-d); }
.tone-dining   { --tone: var(--butter); --tone-d: var(--butter-d); }
.tone-beds     { --tone: var(--sky);    --tone-d: var(--sky-d); }
.tone-loose    { --tone: var(--rose);   --tone-d: var(--rose-d); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
}

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

.w { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- header + tabs ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 250, 247, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ln);
}

.top {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 16px;
}

.logo { flex: none; white-space: nowrap; font: 600 1.25rem "Playfair Display", Georgia, serif; }
.logo b { font-weight: 600; background: linear-gradient(transparent 60%, var(--tone-d) 60%); }

.tabs {
  position: relative;
  display: flex;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding: 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }

.tabs a {
  flex: none;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--sf);
  border: 1px solid var(--ln);
  transition: background .2s, transform .2s, border-color .2s;
}
.tabs a:hover { transform: translateY(-1px); border-color: var(--tone-d); }

/* each tab has its own pastel colour when active / hovered */
.tabs a[data-n="home"]:hover,     .tabs a[data-n="home"].on     { background: var(--peach);  border-color: var(--peach-d); }
.tabs a[data-n="sofa"]:hover,     .tabs a[data-n="sofa"].on     { background: var(--peach);  border-color: var(--peach-d); }
.tabs a[data-n="kitchen"]:hover,  .tabs a[data-n="kitchen"].on  { background: var(--mint);   border-color: var(--mint-d); }
.tabs a[data-n="wardrobe"]:hover, .tabs a[data-n="wardrobe"].on { background: var(--lav);    border-color: var(--lav-d); }
.tabs a[data-n="dining"]:hover,   .tabs a[data-n="dining"].on   { background: var(--butter); border-color: var(--butter-d); }
.tabs a[data-n="beds"]:hover,     .tabs a[data-n="beds"].on     { background: var(--sky);    border-color: var(--sky-d); }
.tabs a[data-n="loose"]:hover,    .tabs a[data-n="loose"].on    { background: var(--rose);   border-color: var(--rose-d); }
.tabs a.on { font-weight: 600; }

@media (max-width: 1100px) { .tabs { justify-content: flex-start; } }

/* ---------- buttons ---------- */
.btn {
  flex: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tone);
  color: var(--ink);
  padding: 12px 24px;
  border: 1px solid var(--tone-d);
  border-radius: 99px;
  font: 500 .92rem Inter, sans-serif;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px var(--tone-d); }
.btn.ghost { background: transparent; border-color: var(--ink); }
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--tone) 0%, var(--bg) 85%);
  padding: 56px 0 64px;
}
.hero .w {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); }
.hero p { max-width: 520px; font-size: 1.08rem; color: var(--mu); }
.hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.hero-img {
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  box-shadow: 0 24px 50px -28px rgba(80, 50, 90, .35);
  transform: rotate(1.5deg);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.contain img { object-fit: contain; background: #fff; }
.hero-img.empty { display: grid; place-items: center; }

.ey {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 600;
  color: #8a6f86;
  margin: 0 0 10px;
}

/* ---------- sections ---------- */
section { padding: 76px 0; }
.alt { background: var(--sf); border-block: 1px solid var(--ln); }
.tinted { background: color-mix(in srgb, var(--tone) 45%, var(--bg)); }

.t { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.t h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
.t p { color: var(--mu); margin: 0; }

/* category tiles (home) */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c, var(--peach));
  border: 1px solid var(--cd, var(--peach-d));
  transition: transform .3s, box-shadow .3s;
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(80, 50, 90, .5); }
.cat .im {
  aspect-ratio: 4/3;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cat .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat.contain .im img { object-fit: contain; padding: 10px; }
.cat:hover .im img { transform: scale(1.06); }
.cat .im svg { width: 64px; height: 64px; stroke: var(--cd); fill: none; stroke-width: 1.6; }
.cat span { padding: 16px 18px 18px; font: 500 1.2rem "Playfair Display", serif; }
.cat small { display: block; font: 400 .85rem Inter; color: var(--mu); }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ph {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--ln);
  cursor: zoom-in;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ph:hover img { transform: scale(1.05); }
.gal.contain .ph img { object-fit: contain; background: #fff; }
.ph.tall { aspect-ratio: 3/4; }
.ph.empty {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--mu);
  font-size: .92rem;
  background: repeating-linear-gradient(45deg, var(--tone), var(--tone) 12px, color-mix(in srgb, var(--tone) 60%, #fff) 12px, color-mix(in srgb, var(--tone) 60%, #fff) 24px);
  border: 1px dashed var(--tone-d);
  cursor: default;
}

/* two-column block + stats */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.stats div {
  background: var(--peach);
  border: 1px solid var(--peach-d);
  border-radius: var(--r);
  padding: 16px;
}
.stats div:nth-child(2) { background: var(--mint); border-color: var(--mint-d); }
.stats b { display: block; font: 500 1.8rem "Playfair Display", serif; }
.stats small { color: var(--mu); }

/* videos */
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vc {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--lav);
  aspect-ratio: 9/16;
  max-height: 640px;
}
.vc video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--mu); background: var(--lav); font-size: .95rem; }

/* feature cards */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feat div {
  background: var(--tone);
  border: 1px solid var(--tone-d);
  border-radius: var(--r);
  padding: 24px;
}
.feat div:nth-child(2n) { background: color-mix(in srgb, var(--tone) 55%, #fff); }
.feat h3 { font-size: 1.2rem; }
.feat p { margin: 0; color: #5f5668; font-size: .94rem; }

/* ---------- call to action / contact ---------- */
.cta { background: linear-gradient(135deg, var(--lav), var(--rose)); text-align: center; }
.cta p { color: #5f5668; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

form { display: grid; gap: 12px; max-width: 520px; margin: 26px auto 0; text-align: left; }
input, select, textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--lav-d);
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: 14px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lav-d); outline-offset: 1px; }
#ok { display: none; font-weight: 500; }

/* ---------- footer ---------- */
footer { background: #f6eef3; border-top: 1px solid var(--ln); padding: 52px 0 24px; font-size: .92rem; }
footer .fg { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
footer .fb { font: 600 1.3rem "Playfair Display", serif; margin: 0 0 8px; }
footer p { margin: 0 0 8px; color: var(--mu); }
footer h4 { margin: 0 0 14px; font: 600 .72rem Inter; letter-spacing: .18em; text-transform: uppercase; color: #8a6f86; }
footer a { display: block; padding: 3px 0; }
footer a:hover { text-decoration: underline; }
.fbar {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ln); color: var(--mu); font-size: .85rem;
}

/* floating WhatsApp */
.wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--mint); border: 1px solid var(--mint-d);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; fill: #2f7d57; }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 60; display: none; place-items: center;
  background: rgba(59, 51, 64, .72); padding: 20px; cursor: zoom-out;
}
.lb.open { display: grid; }
.lb img { max-width: min(1100px, 100%); max-height: 88vh; border-radius: 14px; background: #fff; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .w, .two { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 36px 0 44px; }
  .hero-img { transform: none; }
  section { padding: 54px 0; }
  footer .fg { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .vids {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  }
  .vc { scroll-snap-align: center; }
}
@media (max-width: 640px) {
  .top > .btn { display: none; }
  .top { gap: 8px; }
  .logo { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* footer brand */
.flogo { height: 84px; width: auto; margin: 0 0 8px; mix-blend-mode: multiply; }
footer .tag { font-style: italic; color: #8a6f86; margin-bottom: 10px; }

/* header logo image */
.logo img { height: 46px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 640px) { .logo img { height: 38px; } }

/* ---------- mobile: hamburger menu ---------- */
.burger {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--tone-d);
  background: var(--tone);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  align-content: center;
  justify-items: center;
  gap: 4px;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: grid; }
  .top { height: 64px; gap: 12px; }
  .top > .btn { display: none; }
  .logo img, .hlogo { height: 40px; width: auto; }

  .tabs {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px 20px;
    overflow: visible;
    background: rgba(255, 250, 247, .98);
    border-bottom: 1px solid var(--ln);
    box-shadow: 0 18px 30px -22px rgba(80, 50, 90, .45);
  }
  .tabs.open { display: flex; }
  .tabs a { padding: 12px 18px; font-size: 1rem; border-radius: 14px; }
}

/* =========================================================
   Home page extras (only used by index.html)
   ========================================================= */
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
@keyframes up     { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(-.5deg) translateY(-12px); } }
@keyframes drift  { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -30px) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }

body.tone-home { animation: pagein .6s ease both; }

/* delays + directions for scroll reveal (all pages, harmless) */
.rv { transition-delay: var(--d, 0ms); }
.rv-l { transform: translateX(-34px); }
.rv-r { transform: translateX(34px); }
header.scrolled { box-shadow: 0 10px 30px -22px rgba(80, 50, 90, .55); }

.home-hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.home-hero .w { position: relative; z-index: 1; }
.home-hero h1 em { font-style: italic; background: linear-gradient(transparent 62%, var(--peach-d) 62%); }
.home-hero .w > div > * { opacity: 0; animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
.home-hero .w > div > :nth-child(1) { animation-delay: .10s; }
.home-hero .w > div > :nth-child(2) { animation-delay: .22s; }
.home-hero .w > div > :nth-child(3) { animation-delay: .34s; }
.home-hero .w > div > :nth-child(4) { animation-delay: .46s; }
.home-hero .w > div > :nth-child(5) { animation-delay: .58s; }
.home-hero .hero-img { opacity: 0; animation: up 1s .3s cubic-bezier(.2, .7, .2, 1) both, floaty 7s 1.3s ease-in-out infinite; }

.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .7; animation: drift 14s ease-in-out infinite; }
.blob.b1 { width: 320px; height: 320px; background: var(--rose);  left: -90px; top: -80px; }
.blob.b2 { width: 260px; height: 260px; background: var(--mint);  right: 6%; bottom: -90px; animation-delay: -4s; }
.blob.b3 { width: 200px; height: 200px; background: var(--lav);   left: 42%; top: 10%; animation-delay: -8s; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .75); border: 1px solid var(--ln); font-size: .82rem; color: var(--mu); }

/* moving strip */
.mq { overflow: hidden; background: var(--ink); color: #fff; padding: 14px 0; }
.mq-in { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.mq span { flex: none; padding: 0 26px; font: italic 500 1.05rem "Playfair Display", serif; white-space: nowrap; }
.mq span::after { content: "\2726"; margin-left: 52px; color: var(--peach-d); font-style: normal; }
.mq:hover .mq-in { animation-play-state: paused; }

/* why us */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.why div { position: relative; padding: 28px 24px 26px; border-radius: var(--r); border: 1px solid var(--ln); background: var(--sf); transition: transform .3s, box-shadow .3s, background .3s; }
.why div:nth-child(1):hover { background: var(--peach); }
.why div:nth-child(2):hover { background: var(--mint); }
.why div:nth-child(3):hover { background: var(--lav); }
.why div:nth-child(4):hover { background: var(--sky); }
.why div:hover { transform: translateY(-6px); box-shadow: 0 20px 34px -26px rgba(80, 50, 90, .6); }
.why i { font: italic 500 2.2rem "Playfair Display", serif; color: var(--peach-d); display: block; margin-bottom: 8px; }
.why h3 { font-size: 1.2rem; }
.why p { margin: 0; color: var(--mu); font-size: .94rem; }

/* process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.steps div { text-align: center; padding: 8px 14px; }
.steps b { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--c1, var(--peach)); border: 1px solid var(--peach-d); font: 500 1.3rem "Playfair Display", serif; transition: transform .35s; }
.steps div:nth-child(2) b { background: var(--mint); border-color: var(--mint-d); }
.steps div:nth-child(3) b { background: var(--lav);  border-color: var(--lav-d); }
.steps div:nth-child(4) b { background: var(--sky);  border-color: var(--sky-d); }
.steps div:hover b { transform: scale(1.14) rotate(-6deg); }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--mu); font-size: .94rem; }

@media (max-width: 860px) {
  .home-hero { padding: 40px 0 52px; }
  .home-hero .hero-img { animation: up 1s .3s both; opacity: 0; }
  .blob { opacity: .5; }
  .rv-l, .rv-r { transform: translateY(22px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .w > div > *, .home-hero .hero-img, body.tone-home { opacity: 1 !important; animation: none !important; }
  .mq-in, .blob { animation: none !important; }
}
