/* ── GLOBAL STYLES — arifrafa.com ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --gold-pale: #F7F0E3;
  --dark: #1A1410;
  --dark-mid: #2C2218;
  --dark-card: #231B12;
  --text-muted: #8C7B68;
  --white: #FEFCF8;
  --rose: #C4776A;
  --green: #6A9E6E;
}

html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(26,20,16,0.96);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; font-style: italic;
  color: var(--gold); letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(254,252,248,0.7);
  text-decoration: none; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--gold); transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(26,20,16,0.98);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--white); text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── SECTION COMMON ── */
.section-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300; font-style: italic;
  line-height: 1.15; color: var(--white);
}
.section-body {
  font-size: 0.9rem; line-height: 1.9;
  color: var(--text-muted); max-width: 520px;
}
.gold-divider {
  width: 60px; height: 1px;
  background: var(--gold); margin: 2rem 0; opacity: 0.6;
}
.gold-divider.center { margin: 2rem auto; }

/* ── BUTTONS ── */
.btn-gold {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.85rem 2.5rem; cursor: pointer;
  transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-gold:hover { background: var(--gold); color: var(--dark); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── LIGHTBOX ── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(26,20,16,0.97);
  align-items: center; justify-content: center; flex-direction: column;
}
#lightbox.open { display: flex; }
#lightbox-img {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
#lightbox-caption {
  margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.15em;
  color: var(--text-muted); text-transform: uppercase;
}
#lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--gold);
  font-size: 1.2rem; cursor: pointer; opacity: 0.7;
  font-family: 'Inter', sans-serif; font-weight: 300;
  letter-spacing: 0.1em; font-size: 0.8rem;
  transition: opacity 0.2s; text-transform: uppercase;
}
#lightbox-close:hover { opacity: 1; }
#lightbox-prev, #lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--gold);
  font-size: 1.5rem; cursor: pointer; padding: 1rem;
  opacity: 0.5; transition: opacity 0.2s;
}
#lightbox-prev:hover, #lightbox-next:hover { opacity: 1; }
#lightbox-prev { left: 1rem; }
#lightbox-next { right: 1rem; }

/* ── DOWNLOAD BTN ── */
#lightbox-download {
  position: absolute; bottom: 1.5rem; right: 2rem;
  background: none; border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.5rem 1.2rem;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
}
#lightbox-download:hover { background: var(--gold); color: var(--dark); }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: var(--dark-mid); border: 1px solid var(--gold);
  color: var(--gold-light); font-size: 0.8rem; letter-spacing: 0.1em;
  padding: 0.8rem 2rem; z-index: 500;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
#toast.show { opacity: 1; }

/* ── FOOTER ── */
footer {
  padding: 4rem 2rem; text-align: center;
  border-top: 1px solid rgba(201,169,110,0.1);
}
.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--gold); margin-bottom: 0.8rem;
}
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.5rem; }
.footer-links a {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-text { font-size: 0.72rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
