/* ================================================================
   ISH METAL TRADING — styles.css
   Shared across all pages
   Aesthetic: Luxury Dark Gold
   Fonts: Cormorant Garamond (display) + Outfit (body)
   ================================================================ */

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  --gold-100: #fdf6e3;
  --gold-200: #f5e6a3;
  --gold-300: #e8c96b;
  --gold-400: #d4a843;
  --gold-500: #b8882a;
  --gold-600: #9a6e1a;

  --dark-950: #080808;
  --dark-900: #0e0e0e;
  --dark-800: #141414;
  --dark-700: #1c1c1c;
  --dark-600: #242424;
  --dark-500: #303030;

  --text-100: #f5eed8;
  --text-200: #d8ccac;
  --text-300: #b0a07c;
  --text-400: #7a6e56;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;

  --max-w: 1240px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  background: var(--dark-900);
  color: var(--text-100);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-400);
  flex-shrink: 0;
}

h1.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text-100);
}
h2.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-100);
  margin-bottom: 1.25rem;
}
h2.section-heading em { font-style: italic; color: var(--gold-400); }

.body-text {
  font-size: 0.95rem;
  color: var(--text-300);
  line-height: 1.85;
}
.lead-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--text-200);
  line-height: 1.6;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-gold {
  background: var(--gold-400);
  color: var(--dark-900);
}
.btn-gold:hover { background: var(--gold-300); }

.btn-outline {
  border: 1px solid rgba(212,168,67,0.4);
  color: var(--gold-300);
}
.btn-outline:hover {
  border-color: var(--gold-300);
  background: rgba(212,168,67,0.07);
}

/* ── Divider line ──────────────────────────────────────────────── */
.gold-line {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--gold-400);
  margin-bottom: 2rem;
}

/* ================================================================
   NAV (shared)
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.solid {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212,168,67,0.1);
}
.nav__wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 10;
}
.nav__logo img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-100);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav__link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-300);
  transition: color 0.25s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.3s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--text-100); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link--cta {
  color: var(--gold-400) !important;
  border: 1px solid rgba(212,168,67,0.38);
  padding: 0.42rem 1.1rem;
  border-radius: 1px;
}
.nav__link--cta:hover {
  background: var(--gold-400);
  color: var(--dark-900) !important;
}
.nav__link--cta::after { display: none; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 10;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-100);
  transition: all 0.3s;
  transform-origin: left;
}
.nav__burger.open span:nth-child(1) { transform: rotate(40deg) translate(-1px, -2px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-40deg) translate(-1px, 2px); }

/* ================================================================
   PAGE HERO (shared inner-page banner)
   ================================================================ */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.2) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
}
.page-hero__content .eyebrow { color: var(--gold-300); }
.page-hero__content .eyebrow::before { background: var(--gold-300); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: #fff;
}
.page-hero__title em { font-style: italic; color: var(--gold-300); }

/* ================================================================
   FOOTER (shared)
   ================================================================ */
.footer {
  background: var(--dark-950);
  border-top: 1px solid rgba(212,168,67,0.1);
}
.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}
.footer__logo {
  height: 42px;
  width: auto;
  margin-bottom: 1.2rem;
}
.footer__brand-text {
  font-size: 0.88rem;
  color: var(--text-300);
  line-height: 1.75;
  max-width: 260px;
}
.footer__col h5 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.4rem;
}
.footer__col ul li {
  padding: 0.32rem 0;
  font-size: 0.88rem;
  color: var(--text-200);
}
.footer__col ul li a {
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--gold-300); }
.footer__col p {
  font-size: 0.88rem;
  color: var(--text-200);
  line-height: 1.8;
}
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__legal {
  display: flex;
  gap: 0.3rem;
  flex-direction: column;
  margin-top: 0.75rem;
}
.footer__legal a {
  font-size: 0.82rem;
  color: var(--text-300);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--gold-300); }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-300);
}
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-600) !important;
}



/* ── Scroll fade-in utility ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   RESPONSIVE — shared
   ================================================================ */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 25%;
    background: var(--dark-900);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 2rem) 2rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.38s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__burger { display: flex; }
  .nav__link { font-size: 1.05rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.15s !important; }
}
