@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #020617;
  --fg: #e5e7eb;
  --accent: #ffffff;
  --card: rgba(255,255,255,0.08);
  /* Optional: theme switch default; you can override with data-theme on root if you implement toggling */
  /* --bg: #020617; --fg: #e5e7eb; --card: rgba(255,255,255,0.08); */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.hero {
  position: relative;
  top: 20px; /* Moves the image down by 20 pixels */

  min-height: 10vh;
  background:
    linear-gradient(rgba(2,6,23,0.85), rgba(2,6,23,0.9)),
    url("assets/hero.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 1000px;
  padding: 1rem 1rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-content p {
  max-width: 520px;
  opacity: 0.85;
  margin-bottom: 2rem;
  white-space: nowrap;
}

.cta {
  display: inline-block;
  background: #fff;
  color: #020617;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.cta:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
}
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
}

.section {
  padding: 5rem 3rem;
  max-width: 1100px;
  margin: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.card {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
