/* ============================================
   BASE — base.css
   Reset, global styles, shared utilities
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }

/* Shared container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Shared section padding */
section { padding: 100px 0 80px; }

/* Section label (e.g. "About me") */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent);
}

/* Section heading */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 48px;
  letter-spacing: -0.03em;
}

/* Generic card */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Divider line */
.skill-divider {
  height: 1px;
  background: var(--border);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Tags */
.tag {
  background: #eff6ff;
  color: var(--accent);
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
}
.tag.green  { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.tag.purple { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #cbd5e1;
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

/* Responsive section padding */
@media (max-width: 768px) {
  section { padding: 72px 0 60px; }
}