/* =============================================
   JERICHO PERALTA | PORTFOLIO 2026
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Space+Mono:wght@400;700&family=Outfit:wght@300;400;500;600&display=swap");

/* ── TOKENS ──────────────────────────────────── */
:root {
  --bg:          #0c0c0c;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --border:      rgba(255,255,255,0.08);
  --border-mid:  rgba(255,255,255,0.15);
  --white:       #ffffff;
  --off-white:   #e8e8e8;
  --muted:       #888888;
  --accent:      #c9b99a;   /* warm gold — subtle, editorial */
  --accent-2:    #676767;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono:    'Space Mono', monospace;
  --font-body:    'Outfit', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t:         300ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible       { opacity: 1; transform: none; }
.reveal-delay         { transition-delay: 0.12s; }
.reveal-delay-2       { transition-delay: 0.24s; }

/* ── NAVIGATION ──────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 68px;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.logo-slash { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--white); }

.social-icon {
  width: 24px;
  height: 24px;
}

.social-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all var(--t);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: #141414; /* default dark background */
  border: 1px solid var(--border-mid);
}

.social-pill img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* default white icons */
  transition: filter var(--t);
}

.social-pill:hover {
  transform: scale(1.15);
  background: var(--accent);       /* warm brown accent */
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(201,185,154,0.25);
}

.social-pill:hover img {
  filter: brightness(0) invert(0); /* icon turns dark on brown background */
}

/* ── HAMBURGER ───────────────────────────────── */
#hamburger-nav { display: none; }

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  cursor: pointer;
}
.hamburger-icon span {
  width: 100%; height: 1.5px;
  background: var(--white);
  transition: all 0.35s var(--ease-out);
  transform-origin: left center;
}
.hamburger-icon.open span:first-child  { transform: rotate(42deg); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-icon.open span:last-child   { transform: rotate(-42deg); }

.menu-links {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-3);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  min-width: 180px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s ease;
}
.menu-links.open { max-height: 280px; opacity: 1; }
.menu-links li   { list-style: none; }
.menu-links a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), color var(--t);
}
.menu-links a:last-child { border-bottom: none; }
.menu-links a:hover { background: rgba(255,255,255,0.05); color: var(--white); }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--t);
}
.btn-light {
  background: var(--white);
  color: var(--bg);
}
.btn-light:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── SECTION COMMONS ─────────────────────────── */
section {
  padding: 7rem 6%;
  position: relative;
}
#hero { padding-top: 0; }

.section-label-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.sec-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.sec-slash { color: var(--muted); font-size: 0.75rem; }
.sec-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

/* ── HERO ────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-55%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 22vw, 22rem);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  padding-top: 68px;
  min-height: calc(100vh - 120px);
}

.hero-left { 
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-surname {
  color: var(--off-white);
  display: block;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-socials { display: flex; gap: 0.75rem; }
.social-pill {
  width: 40px; height: 40px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  
  letter-spacing: 0;
  transition: all var(--t);
}
.social-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Hero image */
.hero-right { display: flex; justify-content: center; }

.hero-img-wrap {
  position: relative;
  width: min(380px, 85vw);
}
.hero-img-wrap img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  filter: grayscale(15%);
  border: 1px solid var(--border);
  transition: filter var(--t);
}
.hero-img-wrap:hover img { filter: grayscale(0%); }

.hero-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
}
.hero-card-2 {
  bottom: auto;
  top: -1.5rem;
  right: auto;
  left: -1.5rem;
}
.hcard-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hcard-label {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Stats bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; gap: 0.2rem; }
.hstat-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.06em;
}
.hstat-l {
  font-size: 0.72rem;
  color: var(--muted);
}
.hstat-divider {
  color: var(--border-mid);
  font-size: 1rem;
  user-select: none;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 0.35;
  width: fit-content;
  margin: 1.5rem auto 0;
  transition: opacity var(--t);
}
.scroll-hint:hover { opacity: 0.7; }
.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%,100% { opacity:1; transform: scaleY(1); }
  50%      { opacity:0.3; transform: scaleY(0.5); }
}

/* ── ABOUT ───────────────────────────────────── */
#about { background: var(--bg-2); }

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

.about-img-frame {
  position: relative;
}
.about-img-frame img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: grayscale(10%);
  transition: filter var(--t), transform var(--t);
}
.about-img-frame:hover img {
  filter: grayscale(0%);
  transform: translateY(-4px);
}
.about-img-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem; right: 1rem;
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  text-align: center;
}
.about-img-tag span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-block { margin-bottom: 2.5rem; }
.about-block-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.about-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.about-block p {
  font-size: 0.975rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}
.about-block strong { color: var(--off-white); font-weight: 600; }

.stat-row {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.about-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.astat-n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.astat-l {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── ARSENAL / EXPERIENCE ────────────────────── */
#experience { background: var(--bg); }

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.arsenal-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color var(--t), transform var(--t);
}
.arsenal-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.ac-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.ac-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  width: 44px; height: 44px;
  background: rgba(201,185,154,0.08);
  border: 1px solid rgba(201,185,154,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ac-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.ac-header p { font-size: 0.78rem; color: var(--muted); }

.skill-list { display: flex; flex-direction: column; gap: 0; }
.skill-list li {
  font-size: 0.9rem;
  color: var(--off-white);
  font-weight: 500;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.skill-item:last-child {
  border-bottom: none;
}

/* icon */
.skill-item img {
  width: 28px;
  height: 28px;
  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

/* name */
.skill-name {
  flex: 1;
  font-weight: 500;
}

/* hover */
.skill-item:hover img {
  transform: scale(1.15) rotate(3deg);
}

.skill-list li:last-child { border-bottom: none; }

.sk-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}


/* ── PROJECTS ────────────────────────────────── */
#projects { background: var(--bg-2); }

.projects-list { display: flex; flex-direction: column; gap: 0; }

.project-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  cursor: default;
}
.project-row:first-child { border-top: 1px solid var(--border); }
.project-row:hover { background: rgba(255,255,255,0.02); }

.proj-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.proj-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
}
.proj-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.project-row:hover .proj-img-wrap img { transform: scale(1.04); }

.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,12,12,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity var(--t);
  backdrop-filter: blur(4px);
}
.project-row:hover .proj-overlay { opacity: 1; }

.proj-overlay a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--border-mid);
  color: var(--off-white);
  transition: all var(--t);
}
.proj-overlay a:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

.proj-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.proj-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.proj-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.proj-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ── CONTACT ─────────────────────────────────── */
#contact { background: var(--bg); }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-blurb {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

.contact-open-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,185,154,0.2);
  border-radius: 100px;
  padding: 0.45rem 1rem;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50%      { opacity:0.4; transform: scale(0.7); }
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.85rem;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.contact-row:hover {
  border-color: var(--border-mid);
  background: var(--bg-3);
  transform: translateX(4px);
}
.cr-icon {
  width: 44px; height: 44px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-row > div { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.cr-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.cr-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-white);
}
.cr-arrow {
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform var(--t), color var(--t);
}
.contact-row:hover .cr-arrow { transform: translate(3px, -3px); color: var(--accent); }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 4rem 6% 2rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-mid {
  display: flex;
  gap: 5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.fc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.25rem;
  display: block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.88rem; color: var(--muted); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-left { order: 2; }
  .hero-right { order: 1; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .hero-cta-row { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-img-wrap { width: min(300px, 75vw); }
  .hero-card { right: -0.5rem; }
  .hero-card-2 { left: -0.5rem; }

  .about-layout { grid-template-columns: 1fr; }
  .about-img-frame { max-width: 380px; margin: 0 auto; }

  .arsenal-grid { grid-template-columns: 1fr 1fr; }

  .contact-split { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  #desktop-nav { display: none; }
  #hamburger-nav { display: flex; }

  section { padding: 5rem 5%; }

  .project-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .proj-num { display: none; }

  .arsenal-grid { grid-template-columns: 1fr; }

  .footer-mid { gap: 2.5rem; }
}

@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .hero-title { font-size: 3rem; }
  .hero-stats-bar { gap: 1rem; }
  .hstat-divider { display: none; }
  .stat-row { flex-wrap: wrap; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}



/* Skill List Icons */
.skill-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.skill-list li img {
  width: 40px;
  height: 40px;
  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.skill-list li img:hover {
  transform: scale(1.2) rotate(5deg);
}

/* Floating keyframes */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}





/* Center the cards in the grid */
.arsenal-grid {
  display: flex;
  flex-wrap: wrap;       /* allows wrapping on smaller screens */
  gap: 2rem;             /* space between cards */
  justify-content: center; /* centers all cards horizontally */
}

/* Ensure all cards have similar width */
.arsenal-card {
  flex: 1 1 250px;       /* allows shrinking/growing */
  max-width: 300px;      /* keeps them uniform */
}






.arsenal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  transition: 0.3s ease;
}

.arsenal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.skill-item img {
  transition: 0.3s ease;
}

.skill-item:hover img {
  transform: scale(1.15) rotate(3deg);
}


.sk-exp {
  background: #00ffae20;
  color: #00ffae;
  box-shadow: 0 0 10px #00ffae40;
}

.sk-exp:hover {
  box-shadow: 0 0 16px #00D1D1, 0 0 32px #00D1D180; /* slightly stronger glow on hover */
  color: #ffffff; /* optional hover text color */
}

.sk-intermediate {
  background: #00D1D120; /* semi-transparent background */
  color: #00D1D1;        /* main text color */
  box-shadow: 0 0 12px #00D1D140, 0 0 24px #00D1D120; /* subtle glow */
  border-radius: 6px;     /* optional, for smoother edges */
  padding: 4px 10px;      /* optional, better spacing */
  transition: 0.3s ease;  /* smooth hover or color transitions */
}

.sk-intermediate:hover {
  box-shadow: 0 0 16px #00D1D1, 0 0 32px #00D1D180; /* slightly stronger glow on hover */
  color: #ffffff; /* optional hover text color */
}

.sk-basic {
  background: #80808030;
  color: #ccc;
}


.ac-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.ac-header p {
  font-size: 0.85rem;
  color: #888;
}


.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}




/* NAV CONTAINER */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(20, 20, 20, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* DESKTOP NAV */
#desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
}

/* LOGO */
.nav-logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
}

.logo-slash {
  color: #aaa;
}

/* LINKS */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #ccc;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #aaa;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

/* 🔥 GLOW HOVER */

.nav-links a {
  color: #888;
  transition: 0.3s ease;
}

/* 🔥 GLOW HOVER WITH #c6bba1 */
.nav-links a:hover {
  color: #c6bba1;
  text-shadow: 0 0 6px #c6bba1,
               0 0 12px #c6bba1,
               0 0 20px #c6bba1;
}



/* HAMBURGER NAV */
#hamburger-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
}

/* ICON */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* MENU */
.menu-links {
  position: absolute;
  top: 70px;
  right: 6%;
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  max-height: 0;
  transition: 0.3s ease;
}

.menu-links li {
  list-style: none;
}

.menu-links a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  text-decoration: none;
}

.menu-links a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* ACTIVE MENU */
.menu-links.open {
  max-height: 300px;
}

/* 🍔 ANIMATION */
.hamburger-icon.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
}



#typing-roles {
  font-weight: 700; /* bold like <strong> */
  color: #c6bba1; /* your accent color */
}

#typing-roles::after {
  content: '|';            /* blinking cursor */
  margin-left: 2px;
  animation: blink 1s infinite step-end;
}

@keyframes blink {
  50% { opacity: 0; }
}


 .work-experience-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 1rem 0;
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 180px;
  text-align: center;
}

.hstat-n, .hstat-l, .hstat-j {
  font-family: 'Poppins', sans-serif;  /* clean modern font */
  color: #c6bba1;
  text-shadow:  0 0 8px #c6bba1; /* subtle glow */
}

.hstat-n {
  font-weight: 500;       /* thinner but still bold */
  font-size: 0.85rem;
}

.hstat-l, .hstat-j {
  font-weight: 400;
  font-size: 0.7rem;
  color: #ffffffcc;
  text-shadow: 
    0 0 4px #ffffff66,
    0 0 8px #ffffff33;
  line-height: 1.2;
}

.hstat-divider {
  font-size: 1rem;
  color: #c6bba1;
  user-select: none;
  display: flex;
  align-items: center;
  text-shadow: 
    0 0 4px #c6bba1,
    0 0 8px #c6bba1;
}

  .scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.scroll-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;          /* bold */
  font-size: 1rem;
  color: #c6bba1;
       /* subtle glow */
  letter-spacing: 2px;
}

.scroll-arrow {
  font-size: 1.5rem;
  color: #c6bba1;
  text-shadow: 0 0 4px #c6bba1;
  animation: arrow-bounce 1.5s infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.btn, .hstat, .social-pill {
  transition: all 0.3s ease;
}

.btn:hover, .hstat:hover, .social-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(198, 187, 161, 0.4);
}

html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


* {
  transition: all 0.2s ease-in-out;
}



.about-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-img-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.about-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(198, 187, 161, 0.15);
  pointer-events: none;
}

.about-img-frame:hover img {
  transform: scale(1.05);
}




.about-block {
  padding: 1.2rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 187, 161, 0.1);
  transition: all 0.3s ease;
}

.about-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(198, 187, 161, 0.2);
}




#about {
  position: relative;
}

#about::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(198, 187, 161, 0.08);
  filter: blur(80px);
  z-index: 0;
}

.about-layout {
  position: relative;
  z-index: 1;
}



.highlight {
  color: #ffffff;
  font-weight: 600;
}






.about-img-frame {
  position: relative;
  width: 100%;
  max-width: 500px; /* or adjust based on your layout */
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-slider {
  width: 100%;
  height: 0;
  padding-top: 100%; /* 1:1 aspect ratio; change to 75% for wider images */
  position: relative;
}

.slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the container */
  display: none;
}

.slides img.active {
  display: block;
}

/* Arrows */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  border-radius: 5px;
  z-index: 2;
}

.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

/* Dots */
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #c6bba1;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
}


#intro {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

/* ✨ TEXT STYLE */
#intro-text {
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 2px;

  color: #ffffff;
  text-shadow: 0 0 8px #c6bba1, 0 0 16px #c6bba1;

  opacity: 0;
  transform: scale(0.95);
  transition: 
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* when visible */
#intro-text.show {
  opacity: 1;
  transform: scale(1);
}


/* hide scroll while intro is active */
body.intro-active {
  overflow: hidden;
}


