/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

.nav {
  display: flex;
  gap: var(--space-sm);
}

.nav a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.nav a:hover {
  color: var(--accent-cyan);
}

/* Hero */
.hero {
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px var(--space-md) var(--space-lg);
  position: relative;
  z-index: 10;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: var(--accent-cyan);
  opacity: 0.8;
}

/* Sections */
.section-title {
  font-size: 0.625rem;
  text-transform: lowercase;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

/* Projects Grid */
.projects {
  padding: var(--space-md) var(--space-md);
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .projects__grid {
    grid-template-columns: 1fr;
  }
}

/* Project Card */
.project-card {
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid var(--pixel-border);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
}

.project-card:focus-within {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.project-card__image {
  height: 140px;
  background: linear-gradient(135deg, var(--fog) 0%, var(--bg-surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(34, 211, 238, 0.05) 50%, transparent 70%);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__placeholder {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.project-card__content {
  padding: var(--space-sm);
  flex: 1;
}

.project-card__title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.project-card__description {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
  opacity: 0.8;
}

.project-card__tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.project-card__tech span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(34, 211, 238, 0.15);
}

/* About */
.about {
  padding: var(--space-md) var(--space-md);
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: var(--space-md);
  text-align: center;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(58, 66, 85, 0.3);
  margin-top: var(--space-lg);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__links a:hover {
  color: var(--accent-cyan);
  opacity: 1;
}

.footer__credit {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-muted);
  opacity: 0.4;
  letter-spacing: 0.1em;
}
