* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  transition: background 0.4s, color 0.4s;
}

/* DARK & LIGHT */
body.dark {
  background: #020617;
  color: #e5e7eb;
}

body.light {
  background: #f8fafc;
  color: #020617;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: inherit;
}

#toggle {
  cursor: pointer;
  font-size: 18px;
  background: none;
  border: none;
}

/* HERO */
.hero {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
}

/* CARDS */
.card {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  text-align: center;
}

/* PROFILE IMAGE */
.profile-img {
  width: 220px;
  border-radius: 16px;
  margin: 20px auto;
  display: block;
}

/* SOCIAL ICONS */
.socials, .card a {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-logo {
  width: 50px;
  height: 50px;
  transition: transform 0.2s;
}

.social-logo:hover {
  transform: scale(1.2);
  cursor: pointer;
}

/* ANIMATIONS */
.fade {
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  opacity: 0.6;
}
