* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
#navbar {
  position: sticky;
  top: 0;
  background-color: #222;
  padding: 15px 20px;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#navbar nav {
  display: flex;
  gap: 20px;
  justify-content: center;
}

#navbar a {
  color: #eee;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

#navbar a:hover {
  color: #ff6347;
}

/* Welcome Section */
#welcome-section {
  height: 100vh; /* full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ff6347, #ff8c00);
  color: white;
  text-align: center;
  padding: 0 20px;
}

#welcome-section h1 {
  font-size: 3rem;
  max-width: 600px;
}

/* Projects Section */
#projects {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #f9f9f9;
  border-radius: 8px;
}

#projects h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.project-tile {
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.project-tile a {
  color: #222;
  text-decoration: none;
  font-size: 1.2rem;
}

.project-tile:hover {
  border-color: #ff6347;
}

/* Media Query: Responsive nav on small screens */
@media (max-width: 600px) {
  #navbar nav {
    flex-direction: column;
    gap: 10px;
  }

  #welcome-section h1 {
    font-size: 2rem;
  }

  #projects {
    padding: 30px 10px;
  }
}
