:root {
  --main-red: #e63946;
  --dark-bg: #121212;
  --light-text: #f1f1f1;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', cursive;
}

.navbar {
  padding: 0.8rem 1rem;
}

.hero {
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--main-red);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--main-red);
  animation: typing 3s steps(30), blink .75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: var(--main-red); }
}

.btn-red {
  background: var(--main-red);
  color: white;
  border: none;
}

.btn-red:hover {
  background: #ff4d58;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--main-red);
}

.project-card:hover {
  border: 2px solid var(--main-red);
  box-shadow: 0 0 10px var(--main-red);
}

.skill-icon {
  font-size: 2rem;
  margin: 0.5rem;
  color: var(--main-red);
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: var(--main-red);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #000;
}
