/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #040408;
  --bg2: #080810;
  --surface: #0d0d1a;
  --border: rgba(255,255,255,0.07);
  --accent: #e8ff00;
  --accent2: #00d4ff;
  --accent3: #ff3366;
  --text: #f0f0f5;
  --text-muted: #6b6b80;
  --text-dim: #3a3a50;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --glow: 0 0 40px rgba(232,255,0,0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ===== CANVAS & CURSOR ===== */
#particleCanvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.3;
}

.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
  opacity: 0.5;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 60px;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(4,4,8,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 4px;
  color: var(--text); text-decoration: none;
}

.logo-bracket { color: var(--accent); font-size: 32px; }

.nav-links {
  display: flex; list-style: none; gap: 40px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-muted);
  text-decoration: none; letter-spacing: 2px;
  text-transform: uppercase; transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--bg);
  background: var(--accent); border: none;
  padding: 10px 20px; border-radius: 4px;
  cursor: none; transition: all 0.3s; font-weight: 700;
}

.nav-cta:hover {
  background: transparent; color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--glow);
}

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: none; z-index: 1001;
}

.hamburger span {
  width: 24px; height: 1px;
  background: var(--text);
  transition: all 0.3s ease; display: block;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 60px 80px;
  overflow: hidden; z-index: 1;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(0,212,255,0.06), transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 50%; height: 60%;
  background: radial-gradient(ellipse at bottom left, rgba(232,255,0,0.04), transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative; z-index: 2;
  animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase;
  display: block; margin-bottom: 16px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 13vw, 172px);
  line-height: 0.88; letter-spacing: 3px;
  margin: 20px 0 24px;
  display: flex; flex-direction: column; align-items: center;
}

.page-title .line {
  display: block; opacity: 0;
  animation: slideUp 0.8s ease forwards;
}

.page-title .line:nth-child(1) { animation-delay: 0.2s; }
.page-title .line:nth-child(2) { animation-delay: 0.4s; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title .accent {
  color: transparent;
  -webkit-text-stroke: 3px var(--accent);
  position: relative;
}

.page-title .accent::before {
  content: attr(data-text);
  position: absolute; left: 0; right: 0;
  color: var(--accent); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0);
  animation: textReveal 2s ease 1s forwards;
}

@keyframes textReveal { to { clip-path: inset(0 0% 0 0); } }

.page-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted); line-height: 1.6;
  opacity: 0; animation: slideUp 0.8s ease 0.7s forwards;
  margin-bottom: 48px;
}

.page-subtitle em { color: var(--accent2); font-style: normal; }

/* Hero Meta */
.hero-meta {
  display: flex; align-items: center;
  justify-content: center; gap: 0;
  opacity: 0; animation: slideUp 0.8s ease 1s forwards;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 48px;
  display: inline-flex;
}

.meta-item { text-align: center; padding: 0 32px; }

.meta-num {
  font-family: var(--font-display);
  font-size: 44px; color: var(--accent);
  line-height: 1; display: inline-block;
}

.meta-item > span:not(.meta-num) {
  font-family: var(--font-display);
  font-size: 28px; color: var(--accent2);
}

.meta-item p {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 4px;
}

.meta-div { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  opacity: 0; animation: slideUp 0.8s ease 1.3s forwards;
}

.scroll-line {
  width: 40px; height: 1px;
  background: var(--accent);
  position: relative; overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--bg);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { left: -100%; } 50% { left: 0%; } 100% { left: 100%; }
}

.hero-scroll-hint span {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  position: sticky; top: 65px; z-index: 100;
  background: rgba(4,4,8,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 16px 60px;
  transition: top 0.4s;
}

.filter-inner {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); flex-shrink: 0;
}

.filter-buttons {
  display: flex; gap: 8px; flex-wrap: wrap; flex: 1;
}

.filter-btn {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 3px;
  cursor: none; transition: all 0.3s;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--accent);
  border-color: rgba(232,255,0,0.3);
}

.filter-btn.active {
  color: var(--bg); background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(232,255,0,0.2);
}

/* View toggle */
.view-toggle {
  display: flex; gap: 4px; margin-left: auto;
}

.view-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px; cursor: none;
  transition: all 0.3s;
  color: var(--text-muted);
}

.view-btn svg {
  width: 16px; height: 16px;
  fill: currentColor;
}

.view-btn:hover { color: var(--accent); border-color: rgba(232,255,0,0.3); }
.view-btn.active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 60px 60px 80px;
  position: relative; z-index: 2;
}

/* GRID VIEW */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: all 0.4s ease;
}

.projects-grid.list-mode {
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* PROJECT CARD — GRID */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: none;
  position: relative;
  display: flex; flex-direction: column;
}

.project-card.hidden {
  opacity: 0; transform: scale(0.95);
  pointer-events: none;
  position: absolute; visibility: hidden;
}

.project-card.visible {
  opacity: 1; transform: scale(1);
  pointer-events: all;
  position: relative; visibility: visible;
}

.project-card:hover {
  border-color: rgba(232,255,0,0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.project-card.featured {
  border-color: rgba(232,255,0,0.15);
}

.project-card.featured::before {
  content: 'ÖNE ÇIKAN';
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 2px; color: var(--bg);
  background: var(--accent); padding: 4px 10px;
  border-radius: 2px; z-index: 10;
}

/* Card Visual */
.card-visual {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--c1-raw), 0.08), rgba(var(--c2-raw), 0.05));
}

.card-visual {
  background: var(--bg2);
}

.card-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--c1) 1px, transparent 1px),
    linear-gradient(90deg, var(--c1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.06;
  transition: opacity 0.4s, transform 0.4s;
}

.project-card:hover .card-pattern {
  opacity: 0.12; transform: scale(1.05);
}

.card-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--c1), transparent 60%),
              radial-gradient(circle at 70% 50%, var(--c2), transparent 60%);
  opacity: 0.08;
  transition: opacity 0.4s;
}

.project-card:hover .card-overlay { opacity: 0.14; }

.card-num {
  position: absolute; bottom: 12px; right: 16px;
  font-family: var(--font-display); font-size: 80px;
  color: rgba(255,255,255,0.04); line-height: 1;
  pointer-events: none;
  transition: color 0.4s;
}

.project-card:hover .card-num { color: rgba(255,255,255,0.07); }

/* Card Body */
.card-body { padding: 24px 24px 16px; flex: 1; }

.card-meta {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 12px;
}

.card-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}

.card-tag.web    { color: #e8ff00; background: rgba(232,255,0,0.1); border: 1px solid rgba(232,255,0,0.2); }
.card-tag.mobile { color: #ff3366; background: rgba(255,51,102,0.1); border: 1px solid rgba(255,51,102,0.2); }
.card-tag.ai     { color: #00d4ff; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); }
.card-tag.design { color: #f97316; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2); }
.card-tag.ecommerce { color: #10b981; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }

.card-year {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 1px;
}

.card-body h3 {
  font-family: var(--font-display); font-size: 22px;
  letter-spacing: 1px; margin-bottom: 10px;
  transition: color 0.3s; line-height: 1.1;
}

.project-card:hover .card-body h3 { color: var(--accent); }

.card-body p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 16px;
}

.card-tech {
  display: flex; flex-wrap: wrap; gap: 6px;
}

.card-tech span {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1px; color: var(--text-dim);
  border: 1px solid var(--border); padding: 3px 8px;
  border-radius: 2px; transition: all 0.3s;
}

.project-card:hover .card-tech span {
  border-color: rgba(232,255,0,0.15); color: var(--text-muted);
}

.card-cta {
  margin: 0 24px 24px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 20px; border-radius: 4px;
  cursor: none; transition: all 0.3s;
  display: flex; align-items: center; justify-content: space-between;
}

.card-cta span { transition: transform 0.3s; }
.card-cta:hover { color: var(--accent); border-color: rgba(232,255,0,0.3); }
.card-cta:hover span { transform: translateX(4px); }

/* ===== LIST MODE ===== */
.projects-grid.list-mode .project-card {
  flex-direction: row; align-items: stretch;
  border-radius: 0; border: none;
  background: var(--bg);
  transform: none !important;
  box-shadow: none !important;
}

.projects-grid.list-mode .project-card:hover {
  background: var(--surface);
}

.projects-grid.list-mode .card-visual {
  width: 180px; height: auto; flex-shrink: 0;
  border-radius: 0;
}

.projects-grid.list-mode .card-body {
  padding: 28px 32px; display: flex;
  flex-direction: column; justify-content: center;
}

.projects-grid.list-mode .card-body h3 { font-size: 26px; }

.projects-grid.list-mode .card-cta {
  margin: 0; align-self: center;
  flex-shrink: 0; margin-right: 32px;
  white-space: nowrap;
}

.projects-grid.list-mode .project-card.featured::before {
  top: 50%; right: auto; left: 188px;
  transform: translateY(-50%);
}

/* ===== LOAD MORE ===== */
.load-more-wrapper {
  text-align: center; margin-top: 60px;
}

.load-more {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 16px 40px; border-radius: 4px;
  cursor: none; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 12px;
  position: relative; overflow: hidden;
}

.load-more::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(232,255,0,0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.load-more:hover::before { transform: translateX(100%); }
.load-more:hover { color: var(--accent); border-color: rgba(232,255,0,0.3); }

.load-spinner {
  width: 14px; height: 14px;
  border: 1.5px solid rgba(232,255,0,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

.load-more.loading .load-spinner { display: block; }
.load-more.loading span { opacity: 0.5; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(4,4,8,0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1; pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid rgba(232,255,0,0.15);
  border-radius: 16px;
  max-width: 760px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky; top: 16px;
  float: right; margin: 16px 16px 0 0;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%; cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; z-index: 10; color: var(--text-muted);
}

.modal-close svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

.modal-close:hover { background: var(--accent3); border-color: var(--accent3); color: white; }

.modal-content { padding: 0 40px 40px; clear: both; }

.modal-header { margin-bottom: 32px; }

.modal-tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  display: block; margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-display); font-size: 48px;
  letter-spacing: 2px; line-height: 1;
  margin-bottom: 16px;
}

.modal-subtitle {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.7;
}

.modal-visual {
  height: 240px; border-radius: 8px;
  margin-bottom: 32px; position: relative; overflow: hidden;
}

.modal-visual .card-pattern,
.modal-visual .card-overlay { position: absolute; inset: 0; }

.modal-section { margin-bottom: 28px; }

.modal-section h4 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

.modal-section p {
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
}

.modal-tech {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.modal-tech span {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1px;
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent2);
  background: rgba(0,212,255,0.06);
  padding: 6px 14px; border-radius: 3px;
}

.modal-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.modal-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 16px;
  text-align: center;
}

.modal-stat-num {
  font-family: var(--font-display); font-size: 32px;
  color: var(--accent); line-height: 1; display: block;
}

.modal-stat p {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-dim); margin-top: 4px;
}

.modal-actions {
  display: flex; gap: 12px; margin-top: 32px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--bg);
  border: none; padding: 14px 28px;
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 4px;
  cursor: none; transition: all 0.3s;
  text-decoration: none; position: relative; overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before { transform: translateX(150%) skewX(-15deg); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(232,255,0,0.4); transform: translateY(-2px); }

.btn-primary svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: transform 0.3s;
}

.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 14px 24px;
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 1px; border-radius: 4px;
  cursor: none; transition: all 0.3s; text-decoration: none;
}

.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); }

/* ===== CTA ===== */
.projects-cta {
  padding: 120px 60px;
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  text-align: center; overflow: hidden;
}

.projects-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,255,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95; letter-spacing: 2px;
  margin: 20px 0 48px;
}

.highlight {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.cta-actions {
  display: flex; align-items: center;
  justify-content: center; gap: 24px; flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 40px 60px 32px;
}

.footer-top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 4px;
}

.footer-links { display: flex; gap: 32px; }

.footer-links a {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom span { font-size: 13px; color: var(--text-dim); }
.footer-mono { font-family: var(--font-mono); font-size: 11px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 120px 24px 80px; }
  .hero-meta { padding: 16px 24px; flex-wrap: wrap; gap: 16px; }
  .meta-div { display: none; }
  .meta-item { padding: 0 16px; }

  .filter-bar { padding: 12px 24px; top: 58px; }
  .filter-label { display: none; }
  .view-toggle { margin-left: 0; }

  .projects-section { padding: 40px 24px 60px; }
  .projects-grid { grid-template-columns: 1fr; }

  .projects-grid.list-mode .card-visual { width: 120px; }
  .projects-grid.list-mode .card-body { padding: 16px 20px; }
  .projects-grid.list-mode .card-cta { display: none; }

  .modal-content { padding: 0 24px 32px; }
  .modal-title { font-size: 36px; }
  .modal-stats { grid-template-columns: repeat(2, 1fr); }
  .modal-actions { flex-direction: column; }

  .projects-cta { padding: 80px 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }

  .footer { padding: 32px 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .filter-buttons { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 10px; }
}

.card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: 0.6;
  transition: opacity 0.4s, transform 0.4s;
}

.project-card:hover .card-cover-img {
  opacity: 0.8;
  transform: scale(1.04);
}