html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: #fff;
  background: black;
  overflow-x: hidden;
}

section {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-weight: bold;
  font-size: 1.2rem;
}
.navbar nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
  text-shadow:
    0 0 8px #00ffe7,
    0 0 16px #00ffe7,
    0 0 32px #00ffe7;
}
.navbar nav a:hover {
  color: #0ff;
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.hero-photo {
  display: block;
  margin: 1rem auto 0 auto;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-bottom: 2px solid #0ff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.project-note {
  text-align: center;
  font-style: italic;
  color: #bbb;
  margin-bottom: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.project-card {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,255,255,0.4);
}

.project-card a {
  color: #0ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.project-card a:hover {
  text-decoration: underline;
  color: #8ff;
}

.contact a {
  color: #0ff;
  font-weight: 600;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: #333;
  color: #fff;
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
  }
  .navbar nav a {
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

h1, h2, h3 {
  text-shadow:
    0 0 8px #00ffe7,
    0 0 16px #00ffe7,
    0 0 32px #00ffe7;
}

.logo,
.hero p {
  text-shadow:
    0 0 8px #00ffe7,
    0 0 16px #00ffe7,
    0 0 32px #00ffe7;
}
