@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@700;800&display=swap");

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {
  scroll-margin-top: 120px;
}

/* VARIÁVEIS */
:root {
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --bg-dark: #020617;
  --bg-mid: #0f172a;
  --text-main: #e5e7eb;
}

/* BODY */
body {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    var(--bg-dark) 0%,
    var(--bg-dark) 25%,
    var(--bg-mid) 60%,
    var(--bg-dark) 100%
  );
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* HERO */
.hero-full {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: radial-gradient(
    circle at top,
    rgba(56, 189, 248, 0.18),
    transparent 60%
  );
}

.hero-name {
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -3px;
  animation: fadeDown 0.8s ease forwards;
  text-shadow:
    1px 1px 0 var(--accent),
    2px 2px 0 #2eaadc,
    3px 3px 0 #1e90c2,
    4px 4px 14px rgba(0, 0, 0, 0.6);
}

.hero-role {
  margin-top: 16px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeDown 1s ease forwards;
}

/* SETA */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
  cursor: pointer;
}

/* SECTIONS */
section {
  max-width: 900px;
  margin: auto;
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* CARDS / SKILLS / CONTATO */
.card,
.skill,
.contact-item {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.9),
    rgba(2, 6, 23, 0.9)
  );
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 16px 20px;
  transition: 0.25s ease;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.6);
}

.card {
  margin-bottom: 24px;
}

.card span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--accent);
}

.card a {
  color: var(--accent);
  text-decoration: none;
}

/* LISTAS */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.skill,
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.skill img,
.contact-item img {
  width: 22px;
  height: 22px;
}

/* HOVER */
.card:hover,
.skill:hover,
.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.8);
}

/* IMAGENS PROJETOS */

#bibli,
#shopgames,
#foodorder {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 16px auto;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

#bibli:hover,
#shopgames:hover,
#foodorder:hover {
  transform: scale(1.05);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMAÇÕES */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(45deg) translate(6px, 6px);
  }
}

/* SCROLL */
html {
  scroll-behavior: smooth;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-name {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .hero-role {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  section {
    padding: 60px 16px;
  }

  .skills {
    flex-direction: column;
  }

  .card img {
    max-width: 100%;
  }

  .nav-links {
    gap: 12px;
  }

  .skills {
    justify-content: center;
  }
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 23, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.card {
  margin-bottom: 30px;
  padding: 24px;
}

.card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 10px;
}
