/* === main.css — Base reset, CSS custom properties, typography, and layout utilities === */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  --bg-main: #0d1117;
  --bg-card: #111c17;
  --bg-alt: #0a1a10;
  --green: #22c55e;
  --green-hover: #16a34a;
  --green-glow: rgba(34,197,94,0.15);
  --green-glow-strong: rgba(34,197,94,0.3);
  --text-heading: #ffffff;
  --text-body: #d1d5db;
  --text-muted: #9ca3af;
  --border-default: #1f2d25;
  --bg-nav-scrolled: rgba(13, 17, 23, 0.92);
  --bg-nav-mobile: rgba(13, 17, 23, 0.98);
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --shadow-nav: rgba(0, 0, 0, 0.3);
  --text-dark: #000000;
  --green-hover-border: rgba(34, 197, 94, 0.4);
  --green-selected: rgba(34, 197, 94, 0.07);
  --border-light: rgba(31, 45, 37, 0.5);
  --green-badge-bg: rgba(34, 197, 94, 0.08);
  --green-badge-border: rgba(34, 197, 94, 0.2);
  --hero-glow: rgba(34, 197, 94, 0.06);
  --photo-shadow: rgba(34, 197, 94, 0.1);
  --pulse-badge-shadow-1: rgba(34, 197, 94, 0.25);
  --pulse-badge-shadow-2: rgba(34, 197, 94, 0);
  --nav-link-padding: 10px;
  --max-width: 1200px;
  --px: 24px;
}

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

/* ========== BASE ========== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== LAYOUT UTILITIES ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: 100px 0;
}

/* ========== SECTION LABELS ========== */
.section-label {
  color: var(--green);
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========== ACCESSIBILITY ========== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
