@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --aws-orange: #0051ff;
  --aws-orange-dark: #0025cc;
  --teal: #2c9e1da2;
  --teal-light: #E1F5EE;
  --teal-dark: #0F6E56;
  --gray-50: #F9F9F7;
  --gray-100: #F1EFE8;
  --gray-200: #D3D1C7;
  --gray-500: #888780;
  --gray-800: #2C2C2A;
  --text-primary: #1a1a18;
  --text-secondary: #5a5a58;
  --text-muted: #888780;
  --bg-white: #ffffff;
  --bg-surface: #F9F9F7;
  --border: rgba(0,0,0,0.1);
  --border-strong: rgba(0,0,0,0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--aws-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--aws-orange);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Page Header ── */
.page-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.accent-line {
  width: 48px;
  height: 3px;
  background: var(--aws-orange);
  border-radius: 2px;
  margin: 1rem 0;
}

/* ── Cards ── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--aws-orange);
  box-shadow: var(--shadow-md);
}

/* ── Badges & Tags ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.badge-teal { background: var(--teal-light); color: var(--teal-dark); }
.badge-orange { background: #FFF3E0; color: #E65100; }
.badge-gray { background: var(--gray-100); color: var(--gray-800); }
.badge-break { background: #FFF3CD; color: #856404; }

/* ── Section Labels ── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--aws-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* ── Skill Pills ── */
.pill {
  display: inline-block;
  font-size: 12px;
  padding: 5px 12px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition);
}

.pill:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.pills-group { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Footer ── */
.footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer a { color: var(--aws-orange); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.5s ease both;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
.fade-up-delay-4 { animation-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: var(--radius-md); }
  .nav-hamburger { display: flex; }
  .nav { position: relative; }
  .page-header { padding: 2rem 0 1.5rem; }
}
