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

/* ── VARIABLES ───────────────────────────────────────── */
:root {
  --bg:         #080808;
  --bg-2:       #0D0D0D;
  --bg-card:    #111111;
  --text:       #F2F2F2;
  --text-2:     #BBBBBB;
  --text-3:     #888888;
  --gold:       #C9A96E;
  --gold-light: #E8D5A8;
  --gold-dark:  #8B7355;
  --border:     rgba(201, 169, 110, 0.12);
  --border-md:  rgba(201, 169, 110, 0.25);
  --font-title: 'Cormorant Garamond', serif;
  --font-body:  'Jost', sans-serif;
  --transition: 0.4s ease;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────────── */
.container { max-width: 1260px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 120px 0; }
.section--sm { padding: 80px 0; }

/* ── TYPE ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.6rem; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  transition: var(--transition);
  cursor: pointer;
}
.btn--gold {
  background: var(--gold);
  color: #080808;
}
.btn--gold:hover { background: var(--gold-light); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--text);
  padding: 15px 40px;
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--text {
  background: none;
  border: none;
  color: var(--text-2);
  padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.btn--text::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}
.btn--text:hover { color: var(--gold); }
.btn--text:hover::after { width: 100%; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav__logo em { color: var(--gold); font-style: normal; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: var(--transition);
}

/* Cart icon */
.nav__cart {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  padding: 8px;
  transition: color 0.25s ease;
  position: relative;
}
.nav__cart:hover { color: var(--gold); }
.nav__cart svg { flex-shrink: 0; }
.cart-count {
  background: var(--gold);
  color: #080808;
  font-size: 0.58rem;
  font-weight: 700;
  font-family: var(--font-body);
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(8,8,8,0.98);
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 18px 48px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--gold); }

/* ── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-style: italic; margin-bottom: 16px; }
.page-hero p { color: var(--text-2); font-size: 1.05rem; max-width: 480px; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer__logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 16px;
  display: block;
}
.footer__logo em { color: var(--gold); font-style: normal; }
.footer__brand p { font-size: 0.85rem; color: var(--text-2); line-height: 1.9; max-width: 280px; }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer__col ul li a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.85rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ── ANIMATIONS ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up--delay-1 { transition-delay: 0.12s; }
.fade-up--delay-2 { transition-delay: 0.24s; }
.fade-up--delay-3 { transition-delay: 0.36s; }
.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.fade-in.visible { opacity: 1; }
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: 0.15s;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}
