:root {
  --bg: #0f2027;
  --text: #ffffff;
  --accent: #00ffd5;
}

body.light {
  --bg: #f5f5f5;
  --text: #111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Merienda", cursive;
  transition: 0.3s;
}

/* Floating Shapes */
.floating-shapes span {
  position: fixed;
  width: 80px;
  height: 80px;
  background: var(--accent);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 20s infinite linear;
}

@keyframes float {
  from { transform: translateY(100vh) rotate(0); }
  to { transform: translateY(-200px) rotate(360deg); }
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.intro {
  font-family: "Pacifico", cursive;
  font-size: 3rem;
}

.typing {
  color: var(--accent);
  margin: 1rem 0;
}

.cta-btn {
  margin-top: 1.5rem;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* SECTIONS */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 16px;
}

.card i {
  font-size: 2rem;
  color: var(--accent);
}

/* Skills */
.skills span {
  display: inline-block;
  margin: 8px;
  padding: 8px 16px;
  background: var(--accent);
  color: #000;
  border-radius: 20px;
}

/* Socials */
.socials a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: var(--accent);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

footer {
  text-align: center;
  padding: 1.5rem;
  opacity: 0.6;
}

.profile-pic {
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), transparent);
  animation: floatPic 6s ease-in-out infinite;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}

/* subtle floating animation */
@keyframes floatPic {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
