/* ═══════════════════════════════════════════════════════
   style.css  –  APRIL FOOLS BRAINROT EDITION 🤡💀🔥
   Original backed up as style.css.bak — restore tomorrow!
   ═══════════════════════════════════════════════════════ */

/* ── Custom properties ── */
:root {
  --bg:          #ff00ff;
  --bg-1:        #00ff00;
  --bg-2:        #ffff00;
  --line:        rgba(255, 0, 0, 0.6);
  --gold:        #ff4500;
  --gold-dim:    rgba(0, 255, 255, 0.85);
  --gold-glow:   rgba(255, 0, 255, 0.3);
  --text:        #0000ff;
  --text-muted:  #ff1493;
  --accent:      #00ff00;
  --radius:      20px;
  --nav-h:       64px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:   'Bungee Shade', 'Comic Neue', 'Comic Sans MS', cursive;
  --font-body:   'Comic Neue', 'Comic Sans MS', cursive;
  --font-mono:   'Bangers', 'Comic Neue', 'Comic Sans MS', cursive;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size:28px'><text y='28'>🤡</text></svg>"), auto;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ffff00, #ff00ff);
  margin-bottom: 2.5rem;
  border-radius: 4px;
}
section { padding: 6rem 0; }

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--transition), transform 0.65s var(--transition);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  h1, h2, h3 { animation: none; }
  .hero-logo img, .nav-logo img { animation: none; }
  .skill-card-icon { animation: none; }
  body { cursor: auto; }
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
#navbar.scrolled {
  background: rgba(255, 0, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1100px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img, .nav-logo svg {
  height: 44px;
  width: 44px;
  border-radius: 6px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

/* Hamburger */
#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#menu-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Subtle film-grain vignette */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 0, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 10%, rgba(0, 255, 0, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* Cinematic horizontal lines */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.008) 3px,
    rgba(255,255,255,0.008) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}
.hero-logo {
  margin-bottom: 1.8rem;
}
.hero-logo img {
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 0, 0, 0.8), 0 0 120px rgba(0, 255, 0, 0.5);
  animation: spin 3s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.hero-name em {
  font-style: italic;
  color: var(--gold-dim);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}
.hero-desc {
  max-width: 520px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 3px dashed var(--gold);
  color: #fff;
  background: #ff0000;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border-radius: 25px;
}
.btn:hover {
  background: #00ff00;
  color: #ff00ff;
  transform: scale(1.15) rotate(-3deg);
}
.btn-ghost {
  border-color: #00ffff;
  color: #ffff00;
  background: #9400d3;
  margin-left: 1rem;
}
.btn-ghost:hover {
  background: #ff69b4;
  color: #00ff00;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  animation: float 2.4s ease-in-out infinite;
}
.scroll-line {
  width: 3px;
  height: 36px;
  background: linear-gradient(to bottom, #ff0000, #00ff00, #0000ff, #ffff00);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
#about { background: var(--bg-1); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image-frame {
  aspect-ratio: 3/4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.about-image-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.7;
}
.about-image-corner.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.about-image-corner.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.about-image-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.about-image-corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: 0.97rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}
.stat {
  background: var(--bg-1);
  padding: 1.2rem 1rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ══════════════════════════════════════════
   SKILLS
══════════════════════════════════════════ */
#skills { background: var(--bg); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.skill-card {
  background: #ffff00;
  border: 3px dashed #ff00ff;
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  border-radius: 20px;
}
.skill-card:hover {
  border-color: #00ffff;
  transform: translateY(-3px) rotate(2deg);
}
.skill-card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.skill-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 2px solid #ff0000;
  color: #ff0000;
  background: #00ffff;
  border-radius: 15px;
}

/* ══════════════════════════════════════════
   WORK / PORTFOLIO
══════════════════════════════════════════ */
#work { background: #00ffff; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
}
.work-item {
  position: relative;
  background: #ff69b4;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  border: 3px solid #00ff00;
}
.work-item-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--bg-2) 0%,
    rgba(108,99,255,0.12) 50%,
    rgba(201,168,76,0.08) 100%
  );
  transition: transform var(--transition);
}
.work-item:hover .work-item-bg { transform: scale(1.04); }
.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,14,0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.work-item:hover .work-item-overlay { opacity: 1; }
.work-item-info {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
}
.work-item:hover .work-item-info { opacity: 1; transform: none; }
.work-item-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.work-item-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
}

/* Placeholder frame art */
.work-frame-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.4;
  gap: 0.4rem;
  transition: opacity var(--transition);
}
.work-item:hover .work-frame-label { opacity: 0; }
.work-frame-icon { font-size: 2rem; opacity: 0.6; }

/* ══════════════════════════════════════════
   EXPERIENCE (CV)
══════════════════════════════════════════ */
#experience { background: var(--bg); }
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.cv-col-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cv-item {
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 1px solid var(--line);
  position: relative;
  margin-bottom: 0.5rem;
}
.cv-item::before {
  content: '';
  position: absolute;
  top: 1.9rem; left: -4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
}
.cv-period {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  margin-bottom: 0.3rem;
}
.cv-role {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.cv-org {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.cv-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
#contact { background: #ff6600; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 32px; height: 32px;
  border: 2px solid #00ff00;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: border-color var(--transition);
  background: #ff00ff;
  border-radius: 50%;
}
.contact-link:hover .contact-link-icon { border-color: #ffff00; background: #00ffff; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: #ffff00;
  border: 3px dashed #ff00ff;
  color: #0000ff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition);
  resize: none;
  border-radius: 15px;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #00ff00; }
.form-group textarea { min-height: 120px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: #9400d3;
  border-top: 4px dashed #ffff00;
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.footer-social {
  display: flex;
  gap: 1.2rem;
}
.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .cv-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 768px) {
  #menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(0,255,0,0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    transition: max-height var(--transition), border-color var(--transition), padding var(--transition);
  }
  .nav-links.open {
    max-height: 340px;
    border-bottom-color: var(--line);
    padding: 1rem 0;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 5%;
    font-size: 0.85rem;
  }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero-cta { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
  .btn-ghost { margin-left: 0; }
}

/* ══════════════════════════════════════════
   APRIL FOOLS EXTRAS 🤡💀
══════════════════════════════════════════ */
@keyframes rainbow-bg {
  0%   { background-color: #ff0000; }
  14%  { background-color: #ff7f00; }
  28%  { background-color: #ffff00; }
  42%  { background-color: #00ff00; }
  57%  { background-color: #0000ff; }
  71%  { background-color: #8b00ff; }
  85%  { background-color: #ff00ff; }
  100% { background-color: #ff0000; }
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}

h1, h2, h3 {
  animation: wobble 2s ease-in-out infinite;
}

.section-title {
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  background: #ff0000;
  color: #ffff00 !important;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

.nav-logo img {
  animation: spin 2s linear infinite;
}

.skill-card-icon {
  font-size: 2.5rem;
  animation: wobble 1.5s ease-in-out infinite;
}

.hero-name em {
  color: #00ff00 !important;
  -webkit-text-fill-color: #00ff00 !important;
  text-shadow: 3px 3px 0px #ff0000, -3px -3px 0px #0000ff;
}

::selection {
  background: #ff00ff;
  color: #00ff00;
}
