/* ============================================================
   MEDIA WALL FIREPLACE CENTRE LTD — Global Stylesheet
   Shared across all pages. Light luxury / warm cream theme.
   ============================================================ */

/* ---------- 1.1 Colour Palette + Tokens ---------- */
:root {
  /* Gold accents */
  --gold:        #B8902A;  /* Primary accent — borders, headings, CTAs, swatches */
  --gold-light:  #C9A84C;  /* Gold hover states */
  --gold-dark:   #8A6A1C;  /* Deep gold — pressed states */

  /* Ink */
  --black:       #1C1512;  /* Darkest ink — text on gold buttons ONLY */

  /* Surfaces */
  --bg:          #F5F2EB;  /* Main page background (warm cream) */
  --dark:        #F0EDE6;  /* Light section backgrounds */
  --dark-2:      #FFFFFF;  /* Card / panel surfaces (white) */
  --dark-3:      #F7F4EE;  /* Step headers / off-white surfaces */
  --mid:         #E2DDD4;  /* Subtle borders & dividers */

  /* Text */
  --text:        #2A2420;  /* Primary body text (warm near-black) */
  --text-muted:  #8A7A65;  /* Secondary / caption text (warm grey) */
  --white:       #FAF8F5;  /* Light text — ONLY on dark overlays (hero, modals) */

  /* Layout */
  --nav-height:  80px;     /* Fixed navigation bar height */

  --maxw: 1240px;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(40,32,20,0.06);
  --shadow-md: 0 10px 40px rgba(40,32,20,0.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset + Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.15; color: var(--text); }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Shared Utilities ---------- */
.section-label {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 22px 0;
}
.gold-divider.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);          /* dark ink on gold — per spec */
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold:active { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--mid);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* On dark hero overlays the outline button needs light text */
.page-hero .btn-outline, .hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.page-hero .btn-outline:hover, .hero .btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- 3.2 Navigation Bar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(245,242,235,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.32rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.01em;
}
.nav-logo .logo-sub {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
  transition: color .2s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--gold);
}
.nav-cta {
  background: var(--gold); color: var(--black);
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  transition: all .25s var(--ease);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.nav-actions { display: flex; align-items: center; gap: 22px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }

.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(245,242,235,0.99); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid);
  flex-direction: column; padding: 18px 32px 26px; gap: 4px; z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 0; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 1px solid var(--mid); font-weight: 500;
}
.nav-mobile a.active { color: var(--gold); }
.nav-mobile .nav-cta { margin-top: 16px; text-align: center; }

/* ---------- 3.3 Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 46vh; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.72) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 0 24px; }
.page-hero-content .section-label { color: var(--gold-light); }
.page-hero-content h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 10px; }
.page-hero-content p { color: rgba(250,248,245,0.85); max-width: 620px; margin: 14px auto 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); border-top: 1px solid var(--mid); margin-top: 90px; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 32px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-brand .logo-main { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.footer-brand .logo-sub { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin: 4px 0 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; color: var(--text-muted); font-size: 0.9rem; padding: 6px 0; align-items: flex-start; }
.footer-contact-item .ic { color: var(--gold); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--mid);
  max-width: var(--maxw); margin: 0 auto; padding: 22px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap;
}
.footer-bottom .priv { color: var(--text-muted); }
.footer-bottom .priv:hover { color: var(--gold); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform .25s var(--ease);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }

/* ---------- Generic section helpers (used by content pages) ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-top: 12px; }
.section-head p { color: var(--text-muted); margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container, .nav-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 24px 30px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 20px 24px; }
  .page-hero { min-height: 300px; }
}
