/* =====================================================
   MEREDITH GIESZELMANN — SITE STYLES
   =====================================================
   COLORS — change these variables to retheme the whole site:
   - --accent: the highlight color (links, buttons, etc.)
   - --bg: page background
   - --surface: card/section background
   - --text: main text color
   - --muted: secondary text
   ===================================================== */
:root {
  --accent:  #7c6af7;
  --accent2: #a78bfa;
  --bg:      #0f0f13;
  --surface: #1a1a24;
  --border:  #2a2a3a;
  --text:    #e8e8f0;
  --muted:   #888899;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* BASE */
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--text);
  text-decoration: none;
}

/* HERO */
.hero {
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 40%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--accent2);
  margin-bottom: 1.25rem;
}

.hero .bio {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* PROJECTS */
#projects {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

#projects h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* PROJECT CARD */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card a.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--accent2);
}

.card.placeholder {
  border-style: dashed;
  opacity: 0.5;
}

/* CONTACT */
#contact {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

#contact h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

#contact > .container > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--accent2);
  text-decoration: none;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}
