/* ════════════════════════════════════════════════════
   LILAC-style demo16 — Base + Header + Hero
   ════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&family=Tajawal:wght@400;500;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.15;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}
.btn-gold {
  background: var(--gold-soft);
  color: var(--ink-900);
}
.btn-gold:hover { background: var(--gold); color: #fff; }
.btn-dark {
  background: var(--ink-900);
  color: #fff;
}
.btn-dark:hover { background: var(--gold-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink-200);
  color: var(--ink-900);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.section { padding: var(--sp-9) 0; }
.section-sm { padding: var(--sp-7) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section-head { text-align: center; margin-bottom: var(--sp-7); }
.section-head h2 {
  font-size: var(--fs-2xl);
  margin-top: 8px;
}

/* ─── Top announcement bar ─────────────────────── */
.topbar {
  background: var(--ink-900);
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar .topbar-center { color: var(--gold-soft); }

/* ─── Header ───────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.header-nav a { position: relative; color: var(--ink-700); transition: color var(--dur); }
.header-nav a:hover, .header-nav a.active { color: var(--gold-dark); }
.brand {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-900);
}
.brand-dot { color: var(--gold); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.header-actions a { font-size: 1.2rem; color: var(--ink-900); transition: color var(--dur); position: relative; }
.header-actions a:hover { color: var(--gold-dark); }
.cart-count {
  position: absolute;
  top: -8px;
  inset-inline-end: -8px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-family: var(--font-body);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  background: var(--paper);
  overflow: hidden;
}
.hero > .container {
  max-width: 100%;
  padding-inline-start: max(24px, calc((100% - var(--container)) / 2 + 24px));
  padding-inline-end: 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 40px;
  min-height: 560px;
}

/* Full background video hero */
.hero--video {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero--video > .container {
  max-width: var(--container);
  padding-inline: 24px;
  display: block;
  position: relative;
  z-index: 2;
  min-height: auto;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.28) 55%, rgba(26,26,26,0.12) 100%);
}
.hero--video .hero-content { max-width: 540px; }
.hero--video .eyebrow { color: var(--gold-soft); }
.hero--video .hero-title { color: #fff; }
.hero--video .hero-sub { color: rgba(255,255,255,0.9); }
.hero-content { max-width: 460px; }
.hero-title {
  font-size: var(--fs-3xl);
  font-weight: 600;
  margin: 14px 0 18px;
}
.hero-sub {
  font-size: var(--fs-md);
  color: var(--ink-500);
  margin-bottom: 28px;
  max-width: 380px;
}
.hero-media {
  position: relative;
  height: 100%;
  min-height: 560px;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Responsive */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header .container { grid-template-columns: auto 1fr auto; }
  .brand { text-align: start; }
  .hero .container { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .hero-media { min-height: 380px; }
  .hero-content { padding-bottom: 20px; }
}
