/* =========================================================
   Shaliya Garments — visual identity
   Palette drawn from the shop's own kasavu (gold-bordered
   handloom) cloth and the maroon/bottle-green blouse work
   seen in their pieces — not a generic boutique template.
   ========================================================= */

:root {
  --cream:      #F5EEDD;
  --paper:      #FFFDF7;
  --gold:       #B08A2E;
  --gold-deep:  #8C6A1E;
  --gold-light: #E7CD8C;
  --maroon:     #6E1F2E;
  --maroon-deep:#531622;
  --green:      #1F3D2E;
  --ink:        #2B241C;
  --ink-soft:   #5B5245;
  --line:       #E4D9BE;

  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 3px;
  --shadow: 0 10px 30px -12px rgba(43,36,28,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--maroon-deep);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
}
p { line-height: 1.7; color: var(--ink-soft); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

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

/* ---------- signature: kasavu border strip ---------- */
.kasavu-strip {
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--gold) 0px, var(--gold) 3px,
      transparent 3px, transparent 8px
    ),
    var(--cream);
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--maroon);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--maroon-deep);
}
.footer-brand .brand-mark { border-color: var(--gold-light); color: var(--gold-light); }
.footer-brand .brand-name { color: var(--paper); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 15px;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav a:hover, .site-nav a.active { border-color: var(--gold); color: var(--maroon-deep); }
.nav-cta {
  background: var(--maroon);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  border-bottom: none !important;
  font-weight: 500;
  transition: background .15s ease;
      padding-top: 5px;
    padding-bottom: 6px !important;
}
.nav-cta:hover { background: var(--maroon-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--maroon-deep); display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--maroon); color: var(--paper); }
.btn-primary:hover { background: var(--maroon-deep); }
.btn-gold { background: var(--gold); color: var(--paper); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline { background: transparent; border-color: var(--maroon); color: var(--maroon-deep); }
.btn-outline:hover { background: var(--maroon); color: var(--paper); }
.btn-whatsapp {
  background: #25864a;
  color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-whatsapp:hover { background: #1e6e3c; }
.btn-block { display: flex; justify-content: center; width: 100%; }

.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--gold-deep);
  margin-bottom: 14px;
  display: block;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
p.lead { font-size: 17px; max-width: 46ch; }

/* ---------- hero (full-bleed collage) ---------- */
.hero-full {
  background: var(--ink);
  overflow: hidden;
}
.hero-full-inner {
  display: grid;
  grid-template-columns: minmax(320px, 38%) 1fr;
  height: 640px;
}
.hero-text {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  background-image: repeating-linear-gradient(180deg, rgba(176,138,46,.05) 0 2px, transparent 2px 46px);
  position: relative;
  z-index: 2;
}
.hero-text .hero-eyebrow { color: var(--gold-light); }
.hero-text h1 { color: var(--paper); font-size: clamp(30px, 3.4vw, 46px); }
.hero-text p.lead { color: #D8CFC0; }
.hero-collage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3px;
  background: var(--ink);
}
.collage-main { position: relative; overflow: hidden; }
.collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-side {     display: grid;
    grid-template-rows: 1fr 0fr;
    gap: 0px; }
.collage-tile { position: relative; overflow: hidden; }
.collage-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-tile::after, .collage-main::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(212,175,102,.25);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-full-inner { grid-template-columns: 1fr; min-height: auto; height:auto; }
  .hero-text { padding: 48px 24px; }
  .hero-collage { grid-template-columns: 1fr; height: 420px; }
  .collage-main { height: 420px; }
  .collage-side { display: none; }
}

/* ---------- category tiles ---------- */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--gold-deep);
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,36,28,0) 40%, rgba(43,36,28,.75) 100%);
  display: flex; align-items: flex-end; padding: 20px;
}
.cat-card .overlay span {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 22px;
}

/* ---------- product grid ---------- */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tabs a {
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 14px;
  background: var(--paper);
}
.filter-tabs a:hover { border-color: var(--gold); }
.filter-tabs a.active { background: var(--maroon); color: var(--paper); border-color: var(--maroon); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); }
.product-body h3 { font-size: 19px; margin: 0; }
.product-body p { font-size: 14px; margin: 0; flex: 1; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media { border: 8px solid var(--paper); box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 480px; object-fit: cover; }
.stat-row { display: flex; gap: 40px; margin-top: 28px; }
.stat-row .stat h3 { font-size: 30px; color: var(--gold-deep); margin-bottom: 2px; }
.stat-row .stat span { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.testimonial-media { aspect-ratio: 1 / 1; overflow: hidden; }
.testimonial-media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body { padding: 20px; }
.testimonial-body p { font-style: normal; font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); }
.testimonial-name { font-size: 13px; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--maroon);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 40px);
  color: var(--paper);
  text-align: center;
  padding: 56px 24px;
}
.cta-banner h2 { color: var(--paper); }
.cta-banner p { color: #E9D9DC; max-width: 50ch; margin: 0 auto 26px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}
.contact-card {
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 { font-size: 20px; margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-row .ico {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-deep);
  font-size: 16px;
}
.map-frame {
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D8CFC0; padding-top: 0px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  padding-top: 48px;;
}
.footer-col h4 { color: var(--gold-light); font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col p { color: #C9BEAD; font-size: 14px; }
.footer-col a { color: #E7DFCD; }
.footer-col a:hover { color: var(--gold-light); }
.footer-tagline { max-width: 32ch; }
.footer-whatsapp {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 18px;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gold-light) !important;
}
.footer-whatsapp:hover { background: var(--gold-light); color: var(--ink) !important; }
.footer-bottom { padding: 18px 0; border-top: 1px solid #453B2C; font-size: 13px; color: #978971; text-align: center; }

/* ---------- floating whatsapp button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px; height: 58px;
  background: #25864a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(37,134,74,.55);
  z-index: 60;
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media img, .about-media img { height: 340px; }
  .cat-grid, .product-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
  .cat-grid, .product-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 24px; flex-wrap: wrap; }
}
