/* ===== VARIABLES ===== */
:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --accent: #c8f135;
  --accent2: #a8d420;
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.dot { color: var(--accent); }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 3rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(200, 241, 53, 0.1);
  border: 1px solid rgba(200, 241, 53, 0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.highlight { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 3rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  animation: fadeUp 0.6s 0.5s ease both;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary { background: var(--accent); color: #0d0d0d; }
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 241, 53, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-small { padding: 0.5rem 1rem; font-size: 0.8rem; background: var(--accent); color: #0d0d0d; }
.btn-small:hover { background: var(--accent2); }
.btn-ghost { background: var(--surface); color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--border); }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-dark {
  background: var(--bg2);
  max-width: 100%;
  padding: 6rem 0;
}
.section-dark > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-placeholder {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface) 0%, var(--border) 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.05rem; }

/* ===== TIMELINE ===== */
.timeline { display: flex; flex-direction: column; gap: 2rem; padding-left: 3rem; padding-right: 3rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.timeline-item:hover { border-color: var(--accent); transform: translateX(4px); }
.timeline-year { font-size: 0.85rem; color: var(--accent); font-weight: 600; padding-top: 0.2rem; }
.timeline-content h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.timeline-school { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }

/* ===== SKILLS ===== */
.skills-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; padding-left: 3rem; padding-right: 3rem; }
.skill-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: default;
  transition: all var(--transition);
}
.skill-pill:hover { background: var(--accent); color: #0d0d0d; border-color: var(--accent); transform: translateY(-2px); }

/* ===== PAGE HERO ===== */
.page-hero { padding: 10rem 3rem 4rem; max-width: 1100px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease both;
}
.page-hero p { color: var(--text-muted); font-size: 1.1rem; animation: fadeUp 0.6s 0.1s ease both; }

/* ===== FILTER ===== */
.filter-bar { display: flex; gap: 0.5rem; padding: 0 3rem 3rem; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: #0d0d0d; border-color: var(--accent); }

/* ===== PROJECTS ===== */
.projects-grid-section { padding: 0 3rem 6rem; max-width: 1100px; margin: 0 auto; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.project-card.hidden { display: none; }
.project-thumb { height: 180px; display: flex; align-items: center; justify-content: center; }
.project-thumb span { font-family: var(--font-head); font-size: 4rem; font-weight: 800; opacity: 0.3; }
.thumb-1 { background: linear-gradient(135deg, #1a2a1a, #2d4a1e); }
.thumb-2 { background: linear-gradient(135deg, #1a1a2a, #1e2d4a); }
.thumb-3 { background: linear-gradient(135deg, #2a1a1a, #4a1e2d); }
.thumb-4 { background: linear-gradient(135deg, #2a2a1a, #4a3e1e); }
.thumb-5 { background: linear-gradient(135deg, #1a2a2a, #1e4a4a); }
.thumb-6 { background: linear-gradient(135deg, #2a1a2a, #3e1e4a); }
.project-info { padding: 1.5rem; }
.project-tags { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; }
.project-tags span {
  background: rgba(200, 241, 53, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(200, 241, 53, 0.2);
}
.project-info h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.project-links { display: flex; gap: 0.5rem; }

/* ===== CONTACT ===== */
.contact-section { padding: 0 3rem 6rem; max-width: 1100px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 600; margin-bottom: 0.2rem; font-size: 0.9rem; }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: 0.9rem; }
.contact-item a:hover { color: var(--accent); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--text-muted); }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-feedback { margin-top: 1rem; font-size: 0.9rem; text-align: center; min-height: 1.4em; }
.form-feedback.success { color: var(--accent); }
.form-feedback.error { color: #ff6b6b; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--accent); }

/* ===== ANIMATIES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 2rem; gap: 1.5rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero-btns { flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .projects-grid-section { padding: 0 1.5rem 4rem; }
  .filter-bar { padding: 0 1.5rem 2rem; }
  .contact-section { padding: 0 1.5rem 4rem; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
}
