* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top left, #0a0a0a, #111);
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
}

nav h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #00e6a8;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00e6a8;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 26px;
  height: 3px;
  background: #00e6a8;
  margin: 4px 0;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px 0;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #00e6a8;
  text-shadow: 0 0 15px rgba(0, 230, 168, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  opacity: 0.9;
}

/* SECTIONS */
section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

h2.section-title {
  text-align: center;
  font-size: 2.3rem;
  color: #00e6a8;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ABOUT */
.about p {
  text-align: center;
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* PHOTO */
.photo-section {
  text-align: center;
  margin-top: 50px;
}

.photo-section img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 3px solid #00e6a8;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0, 230, 168, 0.3);
  transition: transform 0.3s ease;
}

.photo-section img:hover {
  transform: scale(1.05);
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 35px rgba(0, 230, 168, 0.2);
}

.project-card h3 {
  color: #00e6a8;
  margin-bottom: 10px;
  text-align: center;
}

.project-card iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 10px;
  background: #0b0b0b;
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact p {
  margin: 8px 0;
  color: #ddd;
  font-size: 1.05rem;
}

.contact a {
  color: #00e6a8;
  text-decoration: none;
  font-weight: 500;
}

.contact a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #0d0d0d;
  color: #999;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section, .hero {
  animation: fadeInUp 0.8s ease forwards;
}