/* ============================================================
   HUNTER INTERNATIONAL MINING INC. — Main Stylesheet
   ============================================================ */

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

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #8B6914;
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-mid:    #1A1A1A;
  --dark-card:   #161616;
  --mid:         #2A2A2A;
  --text:        #E0D8CC;
  --text-muted:  #8A8278;
  --border:      rgba(201,168,76,0.18);
  --nav-h:       80px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

p { font-size: 1rem; color: var(--text-muted); max-width: 68ch; }

a { color: inherit; text-decoration: none; }

.gold { color: var(--gold); }
.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s, border-bottom 0.4s;
}
#navbar.scrolled {
  background: rgba(10,10,10,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo svg { height: 38px; width: auto; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.nav-logo-text span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  margin-left: 1.5rem;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(1.5rem, 8vw, 8rem) clamp(4rem, 8vh, 7rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 60%, rgba(10,10,10,0.97) 100%),
    url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1600&q=80') center/cover no-repeat;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-line {
  position: absolute;
  top: 0;
  left: clamp(1.5rem, 8vw, 8rem);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.25;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(224,216,204,0.7);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── STAT TICKER STRIP ── */
.stat-strip {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-item .stat-val {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-item .stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ── SECTIONS ── */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 8vw, 8rem); }

.section-header {
  margin-bottom: 3.5rem;
}
.section-header .label { margin-bottom: 0.75rem; }
.section-header h2 { color: #fff; }
.section-header p { margin-top: 1rem; }

/* ── ABOUT STRIP ── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-strip-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.8);
  transition: transform 0.6s ease;
}
.about-strip-img:hover img { transform: scale(1.04); }
.about-strip-img::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  z-index: 2;
  pointer-events: none;
}
.about-strip-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,10,10,0.7), transparent);
  z-index: 2;
}
.about-text h2 { color: #fff; margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1.2rem; }
.about-pillars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: var(--dark-card);
}
.pillar-icon {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 0.1rem;
}
.pillar h4 { color: var(--text); margin-bottom: 0.2rem; font-size: 0.85rem; }
.pillar p { font-size: 0.85rem; margin: 0; max-width: none; }

/* ── COMMODITY CARDS ── */
.commodity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.commodity-card {
  background: var(--dark-card);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.commodity-card:hover { background: var(--dark-mid); }
.commodity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.commodity-card:hover::before { transform: scaleX(1); }
.commodity-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.4rem;
}
.commodity-card h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1.5rem; }
.commodity-card p { font-size: 0.9rem; }

/* ── TEAM SECTION ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s;
}
.team-card:hover { border-color: var(--gold-dark); }
.team-card-org {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.team-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.3rem; }
.team-card-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.team-card p { font-size: 0.88rem; line-height: 1.65; }

/* ── TRACK RECORD ── */
.transactions {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}
.transaction-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.transaction-item:last-child { border-bottom: none; }
.transaction-item:hover { background: var(--dark-card); }
.transaction-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  text-align: center;
}
.transaction-desc { color: var(--text-muted); font-size: 0.92rem; }
.transaction-desc strong { color: var(--text); font-weight: 500; }
.transaction-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}

/* ── DARK BG SECTION ── */
.section-dark { background: var(--dark-mid); }
.section-darker { background: var(--dark-card); }

/* ── NEWS / UPDATES ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.news-card {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.news-card .label { margin-bottom: 0.75rem; }
.news-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.75rem; }
.news-card p { font-size: 0.9rem; }
.news-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.25s;
}
.news-card .read-more:hover { gap: 0.7rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { }
.contact-info h2 { color: #fff; margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.contact-item-text .contact-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-item-text a, .contact-item-text span {
  font-size: 0.95rem;
  color: var(--text);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; }

/* ── FOOTER ── */
footer {
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  padding: 3rem clamp(1.5rem, 8vw, 8rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand p {
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 30ch;
}
.footer-col h4 {
  color: var(--text);
  margin-bottom: 1.2rem;
  font-size: 0.72rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: none;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.25s;
}
.footer-legal a:hover { color: var(--gold); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 8vw, 8rem) 4rem;
  background: var(--dark-mid);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .label { margin-bottom: 0.75rem; }
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 1rem; font-size: 1.05rem; max-width: 60ch; }

/* ── DIVIDER ── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-strip, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-strip-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .transaction-item { grid-template-columns: 50px 1fr; }
  .transaction-amount { grid-column: 2; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { margin-left: 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
