html {
  scroll-behavior: smooth;
}

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

body {
  background: linear-gradient(180deg, #f6d3b6, #ebebeb);
  color: #61539a;
  font-family: 'Fira Code', monospace, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto; 
}

header {
  background: #d9d9d9;
  padding: 16px;
  border-bottom: 1px solid #232838;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

nav a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

nav a:hover {
  color: #f5e898;
}

.hero {
  background-image: url("images/introduction.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  color: #000;
}

.hero h2 {
  margin-top: 12px;
  font-weight: 700;
  font-size: 24px;
  color: #f5e898;
}

.hero p {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: #000;
  color: #f9f9f9;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 1px;
}

.about {
  max-width: 980px;
  margin: 64px auto;
  padding: 32px;
  border-radius: 18px;
  background: #f1f1f1;
  border: 1px solid #232838;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  text-align: center;
}

.about h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about p {
  color: #8a93a6;
}

.projects {
  max-width: 980px;
  margin: 64px auto;
  padding: 0 16px;
}

.projects h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #000; 
}

.project {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: center;
}

.project img {
  width: 100%;
  max-width: none;
  border-radius: 12px;
}

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

.project .text {
  background: #f1f1f1;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #232838;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.project h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project .tag {
  display: inline-block;
  background: rgba(255, 210, 122, 0.08);
  color: #3c3939;
  border: 1px solid #232838;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.project p {
  color: #8a93a6;
  margin-bottom: 12px;
}

.contact {
  max-width: 980px;
  margin: 64px auto;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(240, 236, 230, 0.08), rgba(255,210,122,0.02));
  border: 1px solid #232838;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  text-align: center;
}

.contact h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact p {
  color: #1b0a02;
  margin-bottom: 12px;
}

footer {
  text-align: center;
  padding: 16px;
  color: #8a93a6;
  font-size: 14px;
  border-top: 1px solid #232838;
  margin-top: 64px;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero {
  padding: 60px 10px;
  }
  .hero h1 {
  font-size: 28px;
  }
  .hero h2 {
    font-size: 18px;
  } 
  .about,.contact {
  margin: 32px auto;
  padding: 24px;
  }
  .project{
  grid-template-columns: 1fr;
  }
  .project img {
    width: 100%;
    height: auto
  }
}
