/* Balacona Studio shop website v1.
   Palette from the Balacona Design Style Guide v1.0, made minimalist:
   warm white and calm beige backgrounds, navy ink text, one gold accent.
   Tokens: beige #F1EBE2, navy #1C2440, gold accent #FFD86B,
   gold line #C29A5B. Fonts: Jost (headings), Cormorant Garamond
   (elegant lines), Amiri (Arabic word). No build step, no framework. */

:root {
  --paper: #FCFAF6;
  --beige: #F1EBE2;
  --beige-2: #EFE9E0;
  --ink: #1C2440;
  --ink-soft: #4A5168;
  --gold: #FFD86B;
  --gold-line: #C29A5B;
  --white: #FFFFFF;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --arabic: "Amiri", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }

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

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--beige);
  background: var(--paper);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 20px; padding-bottom: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 14px; height: 14px; background: var(--gold);
  transform: rotate(45deg); border: 1px solid var(--gold-line); flex: none;
}
.logo-word {
  font-weight: 600; letter-spacing: 0.22em; font-size: 15px; text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2A3357; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--beige); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 36px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; display: block; width: 36px; height: 1px; background: var(--gold-line); }
h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12; margin-bottom: 18px;
}
.lede { font-size: 19px; color: var(--ink-soft); max-width: 34rem; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.lang-pill {
  display: inline-block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 6px 16px; color: var(--ink-soft);
}
.lang-pill .ar { font-family: var(--arabic); text-transform: none; font-size: 15px; }

/* IMAGE SLOT: hero. Replace this CSS-drawn framed print with a real
   product photo (for example the NameArt hero) when images are ready.
   Keep the same aspect ratio and the thin gold frame if you can. */
.hero-art {
  background:
    radial-gradient(ellipse at 55% 40%, #FFFFFF 0%, var(--beige) 68%, var(--beige-2) 100%);
  border: 1px solid var(--beige);
  aspect-ratio: 4 / 3.4;
  display: flex; align-items: center; justify-content: center; padding: 8%;
}
.hero-frame {
  background: var(--white); border: 1px solid var(--gold-line);
  box-shadow: 0 18px 40px rgba(28, 36, 64, 0.12);
  width: 72%; aspect-ratio: 3 / 3.6;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 8%;
}
.hero-frame .ar-word { font-family: var(--arabic); font-size: clamp(3rem, 8vw, 4.6rem); color: #B08A3E; line-height: 1.2; }
.hero-frame .frame-caption { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); }
.hero-frame .frame-rule { width: 44px; height: 1px; background: var(--gold-line); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-beige { background: var(--beige); }
.section h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1.2; margin-bottom: 14px;
}
.section-intro { color: var(--ink-soft); max-width: 38rem; margin-bottom: 34px; }
.rule { width: 44px; height: 1px; background: var(--gold-line); margin-bottom: 22px; }

/* ---------- collections ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.card {
  text-decoration: none; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--beige);
}
.card:hover { border-color: var(--gold-line); }
/* IMAGE SLOT: collection card art. Each card carries a soft tint of the
   product's identity colour from the Style Guide (caramel, emerald,
   turquoise, rose). Replace each .card-art block with a real product
   photo when images are ready. */
.card-art { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.card-art span {
  font-family: var(--serif); font-size: 21px; color: rgba(28, 36, 64, 0.72);
  background: rgba(255, 255, 255, 0.82); padding: 8px 16px; text-align: center;
}
.card-art-wall { background: linear-gradient(140deg, #EAD9BE 0%, #D7A877 55%, #B5804F 100%); }
.card-art-nikah { background: linear-gradient(140deg, #DDEAE2 0%, #7FB49C 55%, #2E7A63 100%); }
.card-art-ramadan { background: linear-gradient(140deg, #D9ECE9 0%, #7FC4BC 55%, #2FA39B 100%); }
.card-art-wedding { background: linear-gradient(140deg, #F0D9DC 0%, #D99AA4 55%, #C7697B 100%); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.card-link { margin-top: 12px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story-grid p { color: var(--ink-soft); margin-bottom: 14px; }
.quote {
  font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--ink);
  border-left: 1px solid var(--gold-line); padding-left: 22px; align-self: start;
}

/* ---------- strips ---------- */
.strip {
  border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige);
  padding: 56px 0;
}
.strip-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.strip h2 { margin-bottom: 8px; }
.strip p { color: var(--ink-soft); max-width: 36rem; }

/* ---------- wholesale page blocks ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.audience { border: 1px solid var(--beige); background: var(--white); padding: 22px 20px; }
.audience h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.audience p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; margin-bottom: 56px; }
.offer h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.offer p { color: var(--ink-soft); font-size: 15.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.step { border-top: 1px solid var(--gold-line); padding-top: 18px; }
.step-num { font-family: var(--serif); font-size: 30px; color: var(--gold-line); }
.step h3 { font-size: 17px; font-weight: 600; margin: 6px 0; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.note-box { background: var(--white); border: 1px solid var(--beige); padding: 26px 28px; margin-bottom: 56px; }
.note-box p { color: var(--ink-soft); font-size: 15.5px; }
.note-box strong { color: var(--ink); }

/* ---------- contact / footer ---------- */
.contact-line { font-size: 19px; }
.contact-line a { font-weight: 600; }
.site-footer {
  border-top: 1px solid var(--beige); padding: 30px 0 40px; color: var(--ink-soft); font-size: 14px;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- v1.1 additions: live catalogue, subpages, forms ---------- */

/* hero with a real product photo */
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--gold-line);
  box-shadow: 0 18px 40px rgba(28, 36, 64, 0.14);
}
.hero-photo figcaption {
  font-size: 13px; color: var(--ink-soft); margin-top: 10px; letter-spacing: 0.04em;
}

/* product cards */
.cards-products { grid-template-columns: repeat(4, 1fr); }
.card { overflow: hidden; }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--beige-2); }
.card-tag {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--gold-line); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 10px;
}
.card-price { font-weight: 600; font-size: 16px; margin-top: 10px; }
.card .btn { margin-top: 12px; padding: 10px 20px; font-size: 13px; }
.catalogue-note { color: var(--ink-soft); font-size: 14.5px; margin-top: 26px; }

/* subpage header band */
.page-head { padding: 56px 0 8px; }
.page-head h1 { margin-bottom: 14px; }
.page-head .lede { margin-bottom: 8px; }

/* catalogue PDF placeholder */
.placeholder-box {
  border: 1.5px dashed var(--gold-line); background: var(--white);
  padding: 28px; margin-bottom: 56px;
}
.placeholder-box h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.placeholder-box p { color: var(--ink-soft); font-size: 15.5px; }
.placeholder-flag {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 12px; margin-bottom: 12px;
}

/* signup form (free printable) */
.signup-box { background: var(--white); border: 1px solid var(--beige); padding: 30px 28px; max-width: 560px; }
.signup-form { display: grid; gap: 14px; margin-top: 18px; }
.signup-form label { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.signup-form input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid var(--gold-line); border-radius: 6px; padding: 12px 14px; background: var(--paper);
}
.signup-form .btn { justify-self: start; cursor: pointer; }
.form-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; }

/* legal page prose */
.legal-block { max-width: 44rem; margin-bottom: 44px; }
.legal-block h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin-bottom: 12px; }
.legal-block p { color: var(--ink-soft); margin-bottom: 12px; }
.legal-block a { font-weight: 600; color: var(--ink); }

/* footer */
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-note { width: 100%; margin-top: 10px; font-size: 13px; }

@media (max-width: 860px) {
  .cards-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cards-products { grid-template-columns: 1fr; }
}

/* ---------- language switcher ---------- */
.lang-switch { display: flex; gap: 6px; flex-wrap: wrap; }
.lang-switch a {
  font-size: 12.5px; letter-spacing: 0.08em; text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--beige); border-radius: 999px; padding: 4px 10px;
}
.lang-switch a:hover { color: var(--ink); border-color: var(--gold-line); }
.lang-switch a.current { color: var(--ink); font-weight: 600; border-color: var(--gold-line); background: var(--beige); }

/* ---------- v1.3: compact product shelf (binmahmood.co model) ----------
   The v1.2 range grid rendered as three huge square tiles per row on
   desktop. v1.3 replaces it with a modest shop shelf: six small square
   tiles in one row inside the capped container, family name and
   from-price under each photo. The hero is now text-led; the old hero
   photo sits in a width-capped showcase band below the shelf. */
.section-tight { padding-top: 12px; }
.range-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.range-tile {
  text-decoration: none; background: var(--white); border: 1px solid var(--beige);
  display: flex; flex-direction: column; overflow: hidden;
}
.range-tile:hover { border-color: var(--gold-line); }
.range-tile img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--beige-2);
}
.range-tile .tile-text { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.range-tile .range-name { font-weight: 600; font-size: 14px; line-height: 1.35; }
.range-tile .range-price { font-size: 13.5px; color: var(--ink-soft); }
.showcase { padding-bottom: 64px; }
.showcase .hero-photo { max-width: 680px; margin: 0 auto; }
@media (max-width: 860px) {
  .range-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .range-tile .tile-text { padding: 8px 10px 10px; }
  .range-tile .range-name { font-size: 13.5px; }
}

/* ---------- v1.4: two-column hero with clean collage + categories ----------
   Owner spec 1 Nov 2026: presentation text on one side, a compact
   collage of category images on the other (clean aligned grid, uniform
   tiles, consistent gaps, no overlaps, no captions, no prices or names
   on the tiles). Below it, a categories section whose cards carry one
   image and the category name only; prices live on category pages. */
.hero-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.collage-tile {
  display: block; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--beige); background: var(--beige-2);
}
.collage-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.collage-tile:hover { border-color: var(--gold-line); }
.hero-cats { margin-top: 22px; font-size: 14.5px; color: var(--ink-soft); }
.hero-cats a { text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.hero-cats a:hover { color: var(--ink); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card img { aspect-ratio: 4 / 3; }
.see-all { text-align: center; margin-top: 38px; }
@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-collage { gap: 10px; }
}
