/* index.css */

/* HERO */
header {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.typewriter {
  font-size: 1.3rem;
  margin: 1rem 0 2rem;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  min-width: 25ch;
  min-height: 1.6em;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cta-button {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.primary-btn {
  background: var(--primary);
  color: var(--dark);
  font-weight: 600;
}

.secondary-btn {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* PROJECTS */
.projects {
  padding: 5rem 0;
}

.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: 0.3s;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.banner {
  display: block;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.skills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(0, 247, 255, 0.1);
  margin-top: 10px;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  color: var(--primary);
}

/* CONTACT */
.contact {
  padding: 4rem 0;
  text-align: center;
}

.mailto {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--primary);
}

/* FOOTER */
footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header h1 {
    font-size: 2.5rem;
  }
}