* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #333;
}

header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav a {
  margin-left: 20px;
  font-weight: 500;
}

main {
  padding: 2rem;
}

.section {
  margin-bottom: 3rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.project {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.project:hover {
  transform: translateY(-5px);
}

.project img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
}

.modal-content input {
  width: 90%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 3px solid #ddd;
  border-radius: 8px;
}

.modal-content button {
  padding: 0.8rem;
  width: 100%;
  background: #f16529;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal {
  margin-top: 1rem;
  background: #e0e0e0;
  color: #333;
}

.comment {
  background: #fff;
  border-left: 4px solid #ff6600;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
}

.reply-btn {
  background: none;
  border: none;
  color: #0077cc;
  cursor: pointer;
  margin-top: 5px;
}

textarea.reply-text {
  width: 100%;
  height: 60px;
  margin-top: 10px;
}

button.submit-reply {
  margin-top: 5px;
  padding: 5px 10px;
}

textarea { 
  width: 90%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 3px solid #ddd;
  border-radius: 8px;
}
