@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --red:      #CE1141;
  --black:    #000000;
  --white:    #FFFFFF;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --font:     'Inter', Arial, sans-serif;
  --max-w:    1100px;
  --radius:   10px;
  --shadow:   0 2px 16px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

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

/* ─── Utility ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.btn-primary   { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #b00e38; }

.btn-outline   { background: transparent; color: var(--black); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-white     { background: var(--white); color: var(--red); font-weight: 700; }
.btn-white:hover { background: var(--gray-100); }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 40px;
}

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

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

.nav-logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--black);
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav ul a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.18s;
}

nav ul a:hover { color: var(--red); }

/* ─── Hero ──────────────────────────────────────────── */
#hero { padding: 88px 0 80px; }

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text { flex: 1; }

.hero-eyebrow {
  display: inline-block;
  background: #FFF0F3;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-accent {
  display: block;
  width: 48px;
  height: 5px;
  background: var(--red);
  border-radius: 3px;
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-text h1 span { color: var(--red); }

.hero-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-photo { flex-shrink: 0; }

.hero-photo img {
  width: 260px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 4px solid var(--gray-100);
}

/* ─── Projects ──────────────────────────────────────── */
#projects {
  padding: 80px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.project-tag {
  display: inline-block;
  background: #FFF0F3;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

.project-card h3 { font-size: 1.3rem; font-weight: 700; }
.project-card p  { color: var(--gray-600); font-size: 0.95rem; }

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 5px;
}

.project-links { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }

/* ─── Skills ────────────────────────────────────────── */
#skills {
  padding: 80px 0;
  border-top: 1px solid var(--gray-200);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

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

.skill-icon { font-size: 2.2rem; margin-bottom: 12px; }
.skill-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.skill-card p  { font-size: 0.82rem; color: var(--gray-400); }

.skill-bar-wrap {
  margin-top: 12px;
  background: var(--gray-100);
  border-radius: 4px;
  height: 5px;
  overflow: hidden;
}

.skill-bar { height: 100%; background: var(--red); border-radius: 4px; }

/* ─── Contact / Resources ───────────────────────────── */
#contact {
  padding: 80px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

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

.resource-icon { font-size: 2rem; }
.resource-card h4 { font-weight: 700; font-size: 0.95rem; }
.resource-card p  { font-size: 0.82rem; color: var(--gray-400); }

.resource-card a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s;
}

.resource-card a:hover { border-color: var(--red); }

.contact-bar {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-bar h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.contact-bar p  { font-size: 0.9rem; opacity: 0.85; }

/* ─── Footer ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--gray-200);
  padding: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    gap: 36px;
    text-align: center;
  }

  .hero-text p     { max-width: 100%; }
  .hero-buttons    { justify-content: center; }
  .hero-photo img  { width: 180px; height: 210px; }
  nav ul           { display: none; }
  .section-title   { font-size: 1.6rem; }
  .contact-bar     { text-align: center; justify-content: center; }
}
