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

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

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 8%;
  position: sticky;
  width: 100%;
  background: white;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.logo span {
  white-space: nowrap;
}

.nav-links {
  position: fixed;
height: 100vh;
justify-content: center;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  opacity: 0.6;
}

.nav-links a {
  white-space: nowrap;
}
.hero {
  padding: 180px 8% 120px;
  max-width: 900px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: black;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #333;
}

.work {
  padding: 100px 8%;
}

.work h2 {
  margin-bottom: 3rem;
  font-size: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.project:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  width: 100%;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: 0.4s;
}

.project:hover .overlay {
  transform: translateY(0);
}

.about,
.contact {
  padding: 100px 8%;
  max-width: 800px;
}

.about h2,
.contact h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

footer {
  padding: 2rem 8%;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  text-align: center;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  header {
    padding: 1.5rem 5%;
  }

  .hero,
  .work,
  .about,
  .contact {
    padding-left: 5%;
    padding-right: 5%;
  }
}
