body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: #020617;
  color: #e5e7eb;
}

/* Hero & Navigation */

.hero {
  padding: 2rem 1.5rem 3rem;
  background: #020617;
  color: #e5e7eb;
  border-bottom: 1px solid #1e293b;
}

.nav {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.nav a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: #e5e7eb;
  text-decoration: underline;
}

/* Hero content */

.hero-text h1 {
  margin: 0 0 0.25rem;    
}

.hero-text p {
  margin: 0 0 1rem;         
}

.hero-content {
  max-width: 800px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

/* Links */

a {
  color: #38bdf8;        
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #f97316;        
  text-decoration: underline;
}

.project a[target="_blank"] {
  color: #60a5fa;
}

/* Buttons */

.btn {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.375rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.btn.secondary {
  background: #111827;
}

.btn:hover {
  background: #1d4ed8;
}

/* Sections */

section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid #1e293b;
}

section h2 {
  margin-top: 0;
}

/* Projects */

.project-list {
  display: grid;
  gap: 1.5rem;
}

.project {
  border: 1px solid #1f2937;
  background: #020617;
  padding: 1rem;
  border-radius: 0.5rem;
}

.project img {
  display: block;
  margin: 0 auto 0.75rem;
  max-width: 100%;
  height: auto;
}

.project h3 {
  margin: 0.5rem 0;
}

/* Footer */

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  border-top: 1px solid #1e293b;
}

/* Profile image */

.profile {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.button-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Mobile Options */
@media (max-width: 768px) {

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .nav a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  

  .hero-profile {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }
  

  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
 
  .button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
    margin-right: 0; 
  }
  
 
  .hero {
    padding: 1.5rem 1rem 2rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .hero-text p {
    font-size: 0.95rem;
  }
  
  .hero-profile {
    width: 120px;
    height: 120px;
  }
  
  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}