/* ============================================================
   SECTIONS.CSS — Section-Specific Styles
   Each section is clearly labeled — easy to find & edit
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   CURSOR
   ════════════════════════════════════════════════════════════ */
#cur {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
}
#cur2 {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(229,9,20,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s;
}
body.hovering #cur  { width: 24px; height: 24px; }
body.hovering #cur2 { width: 60px; height: 60px; border-color: rgba(229,9,20,0.9); }


/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.88), transparent);
  transition: background .4s, padding .3s;
}
#nav.solid {
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .06em;
  color: var(--red);
  text-shadow: 0 0 30px rgba(229,9,20,.5);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-condensed);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition-normal);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }


/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 90px 64px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(229,9,20,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,9,20,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridShift 22s linear infinite;
}
.hero-orb1 {
  position: absolute;
  top: -15%; right: -8%;
  width: 900px; height: 900px;
  background: radial-gradient(ellipse, rgba(229,9,20,.16) 0%, rgba(229,9,20,.05) 40%, transparent 70%);
  animation: orbPulse 7s ease-in-out infinite;
}
.hero-orb2 {
  position: absolute;
  bottom: -25%; left: 15%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(229,9,20,.09) 0%, transparent 65%);
  animation: orbPulse 9s ease-in-out infinite reverse;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(0,0,0,.75) 100%);
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 320px;
  background: linear-gradient(transparent, var(--dark));
}

.hero-content { position: relative; z-index: 2; max-width: 960px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .3s ease forwards;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.6s infinite;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 14vw, 14rem);
  line-height: .88;
  letter-spacing: .02em;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp .9s .5s ease forwards;
}
.hero-name .ln1 { display: block; color: var(--white); text-shadow: 0 0 80px rgba(255,255,255,.08); }
.hero-name .ln2 { display: block; color: var(--red);   text-shadow: 0 0 100px rgba(229,9,20,.55); }

.hero-sub {
  font-family: var(--font-condensed);
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 22px 0 34px;
  opacity: 0;
  animation: fadeUp .9s .7s ease forwards;
}
.hero-sub b { color: var(--white); font-weight: 600; }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 48px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp .9s .9s ease forwards;
}
.hero-desc strong { color: var(--white); font-weight: 500; }

.hero-btns {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeUp .9s 1.1s ease forwards;
}

.hero-stats {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease forwards;
}
.stat-b {
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(229,9,20,.28);
  backdrop-filter: blur(14px);
  padding: 18px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-b::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.stat-n { font-family: var(--font-display); font-size: 2.5rem; color: var(--red); display: block; line-height: 1; }
.stat-l { font-family: var(--font-condensed); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); display: block; margin-top: 2px; }


/* ════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════ */
#about { background: linear-gradient(180deg, var(--dark), var(--dark2)); }

.about-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.about-vis {
  position: relative;
  overflow: hidden;
  background: var(--dark3);
}
.about-vis-inner {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.big-t {
  font-family: var(--font-display);
  font-size: 30rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229,9,20,.13);
  line-height: 1;
  user-select: none;
  animation: slowFloat 25s ease-in-out infinite;
}
.about-vis-ov {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(229,9,20,.07), transparent 55%),
    linear-gradient(to right, transparent 55%, var(--dark2));
}
.about-badge {
  position: absolute;
  top: 32px; left: 32px;
  background: var(--red);
  font-family: var(--font-condensed);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 7px 16px;
  color: var(--white);
}
.about-bignum {
  position: absolute;
  bottom: 24px; left: 28px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.06);
  line-height: 1;
}
.about-panel {
  background: var(--dark2);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--red);
}
.about-lbl {
  font-family: var(--font-condensed);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.about-hl {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 26px;
}
.about-body p {
  font-size: .97rem;
  color: var(--grey);
  line-height: 1.92;
  font-weight: 300;
  margin-bottom: 16px;
}
.about-body p strong { color: var(--white); font-weight: 500; }
.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.m-item .m-key {
  font-family: var(--font-condensed);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-bottom: 4px;
}
.m-item .m-val {
  font-family: var(--font-condensed);
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .06em;
}


/* ════════════════════════════════════════════════════════════
   SKILLS
   ════════════════════════════════════════════════════════════ */
#skills { background: var(--dark); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.sk-card {
  background: var(--card-bg);
  padding: 30px 22px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, background .3s;
  border-top: 2px solid transparent;
}
.sk-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(229,9,20,.09), transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.sk-card:hover {
  transform: scale(1.05) translateY(-6px);
  background: var(--card-hover);
  border-top-color: var(--red);
  z-index: 5;
}
.sk-card:hover::before { opacity: 1; }
.sk-icon  { font-size: 2.1rem; margin-bottom: 16px; display: block; }
.sk-name  { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .06em; color: var(--white); margin-bottom: 14px; }
.sk-tags  { display: flex; flex-direction: column; gap: 5px; }
.sk-tag   { font-family: var(--font-condensed); font-size: .68rem; color: var(--grey2); letter-spacing: .05em; }
.sk-bar   { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(229,9,20,.15); }
.sk-bar-fill {
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s ease;
}
.sk-card:hover .sk-bar-fill { transform: scaleX(1); }


/* ════════════════════════════════════════════════════════════
   PROJECTS
   ════════════════════════════════════════════════════════════ */
#projects { background: linear-gradient(180deg, var(--dark), var(--dark2) 50%, var(--dark)); }

/* Featured hero project */
.proj-hero-feat {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: var(--dark3);
  margin-bottom: 8px;
}
.proj-hero-bg2 {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.proj-bnum {
  font-family: var(--font-display);
  font-size: 30rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.04);
  line-height: .85;
  user-select: none;
  transition: transform .6s;
}
.proj-hero-feat:hover .proj-bnum { transform: scale(1.06) rotate(-3deg); }
.proj-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 35% 55%, rgba(229,9,20,.18), transparent 60%);
}
.proj-fade-b {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(transparent, var(--dark2));
}
.proj-feat-content {
  position: absolute;
  bottom: 44px; left: 52px; right: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.proj-feat-lbl {
  font-family: var(--font-condensed);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.proj-feat-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: .95;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.8);
}
.proj-feat-desc {
  font-size: .9rem;
  color: var(--grey);
  max-width: 500px;
  line-height: 1.75;
  font-weight: 300;
}
.proj-feat-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* Project cards grid */
.proj-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pc {
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s;
  aspect-ratio: 16/10;
}
.pc:hover { transform: scale(1.05) translateY(-8px); z-index: 10; }
.pc-bg {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pc-bnum {
  font-family: var(--font-display);
  font-size: 13rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.05);
  line-height: 1;
  user-select: none;
  transition: transform .5s;
}
.pc:hover .pc-bnum { transform: scale(1.12) rotate(-6deg); }
.pc-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 45% 60%, rgba(229,9,20,.22), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.pc:hover .pc-glow { opacity: 1; }
.pc-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.pc-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px;
  transform: translateY(28px);
  transition: transform .3s;
}
.pc:hover .pc-info { transform: translateY(0); }
.pc-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .05em; color: var(--white); margin-bottom: 7px; }
.pc-desc { font-size: .75rem; color: var(--grey); line-height: 1.65; font-weight: 300; opacity: 0; transition: opacity .3s; }
.pc:hover .pc-desc { opacity: 1; }
.pc-stack { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; opacity: 0; transition: opacity .3s .1s; }
.pc:hover .pc-stack { opacity: 1; }


/* ════════════════════════════════════════════════════════════
   EXPERIENCE
   ════════════════════════════════════════════════════════════ */
#experience { background: var(--dark); }

.exp-list { display: flex; flex-direction: column; }
.exp-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 48px 0 48px 20px;
  position: relative;
  transition: background .3s;
}
.exp-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background .4s;
}
.exp-row:hover::before { background: var(--red); }
.exp-row:hover { background: rgba(229,9,20,.03); }
.exp-row:first-child { border-top: 1px solid rgba(255,255,255,.06); }

.ex-left { padding-right: 44px; border-right: 1px solid rgba(255,255,255,.06); }
.ex-yr {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  opacity: .55;
  line-height: 1;
  display: block;
}
.ex-period {
  font-family: var(--font-condensed);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-top: 6px;
}
.ex-right { padding-left: 52px; }
.ex-role {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 6px;
}
.ex-co {
  font-family: var(--font-condensed);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.ex-desc {
  font-size: .93rem;
  color: var(--grey);
  line-height: 1.88;
  font-weight: 300;
  max-width: 700px;
}
.ex-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.exp-row:hover .tag-grey { border-color: rgba(229,9,20,.3); color: var(--grey); }


/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
#contact {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.contact-big-txt {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 10rem);
  line-height: .92;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.contact-big-txt .red { color: var(--red); text-shadow: 0 0 70px rgba(229,9,20,.4); }
.contact-sub {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 72px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.clinks { display: flex; flex-direction: column; }
.cl {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--white);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.cl::before {
  content: '';
  position: absolute;
  left: -100%; top: 0; bottom: 0;
  width: 100%;
  background: rgba(229,9,20,.06);
  transition: left .35s;
}
.cl:hover::before { left: 0; }
.cl:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.cl:hover { color: var(--red); padding-left: 14px; }
.cl-icon  { font-size: 1.1rem; width: 28px; flex-shrink: 0; }
.cl-type  { font-family: var(--font-condensed); font-size: .65rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--grey2); width: 80px; flex-shrink: 0; }
.cl-val   { font-size: .92rem; font-weight: 300; flex: 1; }
.cl-arr   { margin-left: auto; font-size: 1.1rem; transition: transform .3s; }
.cl:hover .cl-arr { transform: translate(5px, -5px); }

/* Contact Form */
.cform { display: flex; flex-direction: column; gap: 18px; }
.flbl {
  font-family: var(--font-condensed);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-bottom: 7px;
}
.fg { display: flex; flex-direction: column; }
.fi, .fta {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s, background .3s;
  width: 100%;
}
.fi:focus, .fta:focus { border-color: var(--red); background: rgba(229,9,20,.04); }
.fi::placeholder, .fta::placeholder { color: rgba(255,255,255,.2); }
.fta { resize: vertical; min-height: 130px; }
.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .14em;
  padding: 17px 52px;
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
  width: 100%;
  margin-top: 6px;
}
.btn-send:hover { background: var(--red2); transform: translateY(-2px); }


/* ════════════════════════════════════════════════════════════
   RESUME BANNER
   ════════════════════════════════════════════════════════════ */
#resume-sec { background: var(--red); }
.res-ban {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 64px;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.res-big { font-family: var(--font-display); font-size: 3.2rem; letter-spacing: .04em; color: var(--white); }
.res-sm  { font-family: var(--font-condensed); font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 5px; }
.btn-res {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .1em;
  padding: 17px 48px;
  transition: all .3s;
  flex-shrink: 0;
}
.btn-res:hover { background: var(--dark); color: var(--white); transform: scale(1.03); }


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ft-logo  { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .06em; color: var(--red); }
.ft-copy  { font-family: var(--font-condensed); font-size: .72rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--grey2); }
.ft-links { display: flex; gap: 28px; }
.ft-links a { font-family: var(--font-condensed); font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--grey2); transition: color var(--transition-normal); }
.ft-links a:hover { color: var(--red); }