/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "SF Pro Display", "Poppins", sans-serif;
}

body {
  background: var(--bg) no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  transition: background 0.4s, color 0.4s;
}

/* Background images */
:root {
  --bg: url("https://4kwallpapers.com/images/wallpapers/macos-big-sur-apple-layers-fluidic-colorful-dark-5k-2560x1440-1455.jpg");
  --text: #111;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --shadow: rgba(0, 0, 0, 0.1);
}

.dark {
  --bg: url("https://4kwallpapers.com/images/wallpapers/macos-monterey-wwdc-21-stock-5k-5120x2880-5585.jpg");
  --text: #f1f1f1;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.5);
}

/* Glass effect */
.glass {
  backdrop-filter: blur(20px) saturate(180%);
  background: var(--glass-bg);
  border-radius: 20px;
  box-shadow: 0 8px 20px var(--shadow);
  padding: 2rem;
  margin: 2rem;
  animation: fadeIn 1s ease;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

header nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}

header nav a:hover {
  color: #007aff;
}

#mode-toggle {
  border: none;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
}

.hero {
  text-align: center;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #007aff;
  animation: float 3s infinite ease-in-out;
}

h1, h2 {
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
}

ul {
  list-style: none;
}

ul li {
  padding: 0.5rem 0;
}

.social-links a {
  margin: 0 1rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #007aff;
  transform: scale(1.1);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

