body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0a0f1c, #091426);
  color: #f0f0f0;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 10%;
  background: rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}

header h1 {
  font-size: 1.8em;
  letter-spacing: 1px;
}

nav a {
  color: #cdd7ff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover, nav a.active { color: #5a8cff; }

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 10%;
}
.hero h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #5a8cff;
}

/* Projects */
.projects {
  padding: 60px 10%;
}
.project {
  margin-bottom: 80px;
}
.project h2 {
  color: #5a8cff;
  margin-bottom: 15px;
}
.photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}
.photos img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s ease;
}
.photos img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.9em;
}

/* Animations */
@keyframes slideLeft { from {transform: translateX(-100px); opacity: 0;} to {transform: translateX(0); opacity: 1;} }
@keyframes slideRight { from {transform: translateX(100px); opacity: 0;} to {transform: translateX(0); opacity: 1;} }
@keyframes slideUp { from {transform: translateY(50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

.slide-in-left { animation: slideLeft 1s ease forwards; }
.slide-in-right { animation: slideRight 1s ease forwards; }
.slide-up { animation: slideUp 1s ease forwards; }
.slide-up-delay { animation: slideUp 1.5s ease forwards; opacity: 0; animation-delay: 0.5s; animation-fill-mode: forwards; }
.fade-in { animation: fadeIn 2s ease forwards; }
a {
    text-decoration: none;
}