 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.5px;
}

body {
  background: #f5f5f5;
  color: #111827;
  line-height: 1.6;
}

.logo{
  width: 10rem;
  height: auto; 
}

.logo img {
  width: 100%;
  height: auto;
}

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

.container {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background: #e5e7eb;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 0.95rem;
}

/* Header */

.site-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  position:fixed;
  width: 100%;
  z-index: 100;
top: 0;

}

.header-inner {
  display: flex;
  align-items: center;
  padding: 0.9rem 0; 
  flex-direction: row;
  justify-content: space-between;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-list a {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  border-bottom-color: #111827;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
  margin-top: 10rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  max-width: 32rem;
}

.hero-subtitle {
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  border: 3px solid #e5e7eb;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-btn {
  background: #111827;
  color: #f9fafb;
}

.primary-btn:hover,
.primary-btn:focus-visible {
  background: #000;
}

.ghost-btn {
  background: transparent;
  border-color: #111827;
  color: #111827;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  background: #e5e7eb;
}

/* About */

.about-inner {
  display: grid;
  gap: 1.75rem;
}

.about-text p {
  color: #374151;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.pill-list li {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #111827;
}

/* Projects */

.projects-grid {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 1.1rem 1.2rem;
}

.project-card p {
  color: #4b5563;
}

.project-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Contact */

.contact-intro {
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.contact-form {
  max-width: 420px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 1.4rem 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
}

input,
textarea {
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
}

input:focus-visible,
textarea:focus-visible {
  outline: 1px solid #111827;
  border-color: #111827;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0;
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* Responsive */

@media (min-width: 720px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-image img {
    width: 260px;
    height: 260px;
  }

  .about-inner {
    grid-template-columns: 2fr 1.3fr;
  }

  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
