:root {
  --primary: #0f172a; /* Deep Slate Blue */
  --accent: #3b82f6; /* Modern Blue */
  --secondary: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
}

.bg-navy { background-color: var(--primary) !important; }

/* Navbar */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-link {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
  padding: 160px 0 100px;
  color: var(--white);
}

.hero h1 { color: var(--white); }

/* About Page Headshot */
.about-image-container {
  position: relative;
  display: inline-block;
}

.about-image-container::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--accent);
  border-radius: 1rem;
  z-index: -1;
}

.headshot-img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: var(--card-shadow-hover);
  transition: transform 0.5s ease;
}

.headshot-img:hover {
  transform: scale(1.02);
}

/* Bio Text */
.bio p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.text-navy { color: var(--accent) !important; font-weight: 600; text-decoration: none; }
.text-navy:hover { text-decoration: underline; }

/* Project Cards */
.card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover) !important;
  border-color: var(--accent);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.btn-outline-navy {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.btn-outline-navy:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-navy {
  background-color: var(--accent);
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-navy:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Skills Badges */
.skill-badge {
  background: #f1f5f9;
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin: 0.25rem;
  transition: all 0.2s ease;
}

.skill-badge:hover {
  background: var(--accent);
  color: var(--white);
}
