/* =============================================================
   ARTOVA — shared.css
   Loaded by: index.html · products.html · contact.html
   Contains:  Reset · CSS Variables · Mockup Banner · Navigation
              Shared Utilities · Buttons · Footer · Fade-up · Responsive (shared)
   ============================================================= */

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--slate);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  /* Colours */
  --black:      #1E1E1E;
  --black2:     #141414;
  --gold:       #C9933A;
  --gold-lt:    #E2B469;
  --gold-dk:    #A07628;
  --offwhite:   #FAFAF7;
  --cream:      #F5F0E8;
  --slate:      #3D3D3D;
  --muted:      #777777;
  --green:      #2E7D4F;
  --lgrey:      #EBEBEB;
  --dgrey:      #D0D0D0;
  --white:      #FFFFFF;
  --wa:         #25D366;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', monospace;

  /* Spacing & Layout */
  --radius:      6px;
  --shadow:      0 2px 16px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.14);
  --max:         1160px;
  --pad:         clamp(20px, 5vw, 60px);
  --section-gap: clamp(64px, 10vw, 120px);
}

/* ── Mockup Banner ───────────────────────────────────────────── */
.mockup-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #8B4513;
  color: #fff;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 16px;
}
.mockup-bar span { opacity: 0.7; margin: 0 12px; }

/* ── Navigation ──────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0px;
  z-index: 100;
  background: rgba(20,20,20,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,147,58,0.2);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
}
.nav-logo-main {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  margin-left: 1px;
  position: relative;
  top: -4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active {
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; color: var(--black) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── Layout Utilities ────────────────────────────────────────── */
.container   { max-width: var(--max); margin: 0 auto; }
.section     { padding: var(--section-gap) var(--pad); }
.section-dark   { background: var(--black); }
.section-black2 { background: var(--black2); }
.section-cream  { background: var(--cream); }
.section-white  { background: var(--white); }

/* ── Section Label (eyebrow) ─────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-label-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-label-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Typography ──────────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}
.section-heading-light { color: var(--white); }
.section-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}
.section-sub-light { color: rgba(255,255,255,0.6); }
.gold-rule {
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border: 2px solid var(--gold);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border: 2px solid var(--gold);
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(201,147,58,0.1);
  transform: translateY(-2px);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-wa:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--black2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px var(--pad) 28px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 260px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-item strong {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 52px;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy  { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-dummy { font-size: 11px; color: rgba(201,147,58,0.5); font-family: var(--font-mono); }

/* ── Scroll Fade-up Animation ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }

/* ── Shared Responsive ───────────────────────────────────────── */
@media (max-width: 600px) {
  nav .nav-links   { display: none; }
  nav .nav-hamburger { display: flex; }
  .footer-inner    { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
