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

:root {
  --bg: #ffffff;
  --text: #111;
  --accent: #6c63ff;
}

body.dark {
  --bg: #0f0f0f;
  --text: #f5f5f5;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: 0.3s;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  align-items: center;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text);
}

nav button {
  cursor: pointer;
}

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

.hero span {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 1s forwards;
}

.delay {
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 80px 10%;
  display: flex;
  gap: 40px;
  align-items: center;
}

.profile-img {
  width: 220px;
  border-radius: 50%;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
}

#lightbox img {
  max-width: 80%;
  border-radius: 15px;
}

/* Contact */
.contact {
  flex-direction: column;
  text-align: center;
}

.resume {
  margin-top: 20px;
  padding: 12px 30px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 25px;
}
