/* ===================================================================
   NAMRATA SHARMA — CV PORTFOLIO
   File: skills.css  (Skills / Toolkit Page)
   Theme: Dark Brass — Black, Bronze & Brass Gold
   =================================================================== */

:root {
  --bg:          #0f0d0a;
  --bg-2:        #1a160f;
  --brass:       #c8973f;
  --brass-light: #f0dfa8;
  --bronze:      #6b4a17;
  --ivory:       #efe6d6;
  --muted:       #9c8f74;
  --ink:         #0b0906;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 20% -10%, #241d10 0%, transparent 55%),
    radial-gradient(ellipse at 90% 10%, #201a0d 0%, transparent 50%),
    var(--bg);
  color: var(--ivory);
  font-family: 'Inter', sans-serif; font-weight: 300;
  min-height: 100vh; overflow-x: hidden;
}

/* ---- dust motes ---- */
.dust { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.mote {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--brass); opacity: 0; box-shadow: 0 0 5px 1px rgba(200,151,63,.5);
  animation: motefloat linear infinite;
}
@keyframes motefloat {
  0%   { transform: translate(0,0); opacity: 0; }
  15%  { opacity: .6; }
  85%  { opacity: .3; }
  100% { transform: translate(var(--mx,40px), var(--my,-70vh)); opacity: 0; }
}

/* ---- topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem,5vw,4rem);
  background: linear-gradient(180deg, rgba(15,13,10,.95), rgba(15,13,10,.7) 70%, transparent);
  border-bottom: 1px solid rgba(200,151,63,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.brand {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .08em;
  color: var(--brass-light); text-decoration: none; font-size: 1.1rem;
}
.topbar nav { display: flex; gap: clamp(1rem,3vw,2.2rem); }
.topbar nav a {
  position: relative; color: var(--muted); text-decoration: none;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: .35rem; transition: color .3s;
}
.topbar nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass-light); transition: width .35s ease;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--brass-light); }
.topbar nav a:hover::after, .topbar nav a.active::after { width: 100%; }

/* ---- hero ---- */
.hero {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(3rem,8vw,6rem) 6vw 2.5rem;
}
.eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-size: .75rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 .9rem;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(2.2rem,6vw,3.6rem); margin: 0 0 1rem; color: var(--ivory);
  letter-spacing: -.01em;
}
.intro { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ---- hex grid ---- */
.hex-grid {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 2rem 6vw 5rem;
  display: grid; gap: 2.4rem 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  justify-items: center;
}
.hex {
  width: 100%; max-width: 220px; aspect-ratio: 1 / 0.98;
  opacity: 0; transform: translateY(28px) scale(.94);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--i) * 60ms);
}
.hex.in-view { opacity: 1; transform: translateY(0) scale(1); }
.hex-inner {
  width: 100%; height: 100%;
  clip-path: polygon(50% 2%, 96% 26%, 96% 74%, 50% 98%, 4% 74%, 4% 26%);
  background: linear-gradient(160deg, #241d11 0%, #17130b 65%, #0e0c07 100%);
  border: 1px solid rgba(200,151,63,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.6rem 1.3rem; gap: .55rem;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.hex-inner i { font-size: 1.7rem; color: var(--brass); transition: color .35s, transform .35s; }
.hex-inner h3 { font-family: 'Space Grotesk', sans-serif; font-size: .92rem; font-weight: 600; color: var(--ivory); margin: 0; line-height: 1.25; }
.hex-inner p  { font-size: .72rem; color: var(--muted); margin: 0; line-height: 1.45; }
.hex:hover .hex-inner {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(0,0,0,.5), 0 0 24px rgba(200,151,63,.18);
  border-color: var(--brass-light);
}
.hex:hover .hex-inner i { color: var(--brass-light); transform: scale(1.12); }

/* ---- next cta ---- */
.next-cta { position: relative; z-index: 2; text-align: center; padding: 2rem 6vw 6rem; }
.next-cta p { color: var(--muted); margin: 0 0 1rem; font-size: .95rem; }
.next-cta a {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  color: var(--ink); background: var(--brass); padding: .85rem 1.7rem; border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .85rem; letter-spacing: .03em;
  transition: background .3s, transform .3s;
}
.next-cta a:hover { background: var(--brass-light); transform: translateY(-2px); }

/* ---- footer ---- */
.foot {
  position: relative; z-index: 2;
  text-align: center; padding: 1.6rem 6vw 2.4rem; color: var(--muted); font-size: .78rem;
  border-top: 1px solid rgba(200,151,63,.15);
}
.foot a { color: var(--muted); text-decoration: none; margin: 0 .3rem; }
.foot a:hover { color: var(--brass-light); }
.foot span { opacity: .4; }

@media (prefers-reduced-motion: reduce) {
  .mote { display: none; }
  .hex  { transition: none; opacity: 1; transform: none; }
}
