* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
#home,
#about,
#resume,
#projects,
#contact {
  scroll-margin-top: 80px;
}

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #1f2937;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-links a.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  background: #c88a65;
  color: #1f2937;
}

.site-header {
  padding: 48px 16px;
  text-align: center;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.subtitle { margin-top: 8px; color: #6b7280; }

.container {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: white;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn {
  margin-top: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover { filter: brightness(0.95); }

/* Hero */
.hero {
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #2563eb 45%,
    #93c5fd 100%
  );
  border-bottom: 1px solid #e5e7eb;
  padding: 96px 16px 64px;
  position: relative;
  overflow: hidden;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 800px) {
  .hero-media {
    justify-content: flex-end;
  }

  .hero-image {
    width: 260px;
    height: 260px;
  }
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(37, 99, 235, 0.08),
    transparent 60%
  );
  pointer-events: none;
}


.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.hero-text h1 {
  margin: 0 0 10px 0;
  font-size: 2rem;
  line-height: 1.15;
  color: white;
}

  .hero-text p {
  margin: 0;
  color: #faebd7;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Reusable button variants (works with your existing .btn) */
.btn.btn-primary {
  background: #2563eb;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.btn.btn-secondary {
  background: #e5e7eb;
  color: #111827;
  text-decoration: none;
  display: inline-block;
}

.btn.btn-secondary:hover {
  filter: brightness(0.97);
}

.hero-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: #374151;
}

/* Hero becomes 2 columns on wider screens */
@media (min-width: 800px) {
  .hero-inner {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }
} 


.site-footer {
  text-align: center;
  padding: 24px 16px;
  color: #6b7280;
}

@media (min-width: 700px) {
  .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    gap: 8px;
  }
}
