/* Global styles */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #f9fafb;
}

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

/* Layout helpers */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.section {
  margin-top: 3rem;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #111827;
}

/* Header / nav */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: #1f2933;
}

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-text {
  flex: 1 1 280px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero-text p {
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.hero-image {
  flex: 1 1 220px;
  display: flex;
  justify-content: center;
}
.hero-photo {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  object-fit: cover;
}

.hero-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Buttons / links */

.btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.primary-btn {
  background-color: #2563eb;
  color: #ffffff;
}

.primary-btn:hover {
  background-color: #1d4ed8;
}

.link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

/* Projects preview */

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.project-card {
  flex: 1 1 280px;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Skills */

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.skill-pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background-color: #e5e7eb;
  font-size: 0.85rem;
}

/* Contact */

.contact p {
  margin: 0.25rem 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  background-color: #ffffff;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.filter-btn {
  background-color: #ffffff;
  border: 1px solid #111827;
  color: #111827;
}

.filter-btn:hover {
  background-color: #111827;
  color: #ffffff;
}

.active-filter {
  background-color: #111827;
  color: #ffffff;
}
.ai-note {
  font-size: 0.95rem;
  color: #4b5563;
}

.ai-qa {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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