@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
      background: linear-gradient(120deg, #0d090f, #231a2e);
      color: white;
      font-family: 'Lato', sans-serif;
      margin: 0;
      padding-top: 90px;
    }
    .navbar {
      transition: all 0.4s ease;
      padding: 20px 120px;
    }
    .navbar-hidden {
      transform: translateY(-100%);
    }
    .navbar-visible {
      background-color: #050709;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    .navbar-transparent {
      background-color: transparent;
    }
    .navbar-dark .navbar-nav .nav-link {
      color: white;
      transition: 0.3s;
      font-weight: 500;
      padding: 0.5rem 1rem;
    }
    .navbar-dark .navbar-nav .nav-link:hover {
      color: #a678f4;
    }
    .btn-hire {
      background: linear-gradient(90deg, #a678f4, #6a44c4);
      color: white;
      border-radius: 30px;
      padding: 8px 20px;
      font-weight: 600;
      transition: background 0.3s;
    }
    .btn-hire:hover {
      background: linear-gradient(90deg, #8c61dc, #5431a9);
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
    }
    .navbar-brand i {
      font-size: 1.8rem;
      margin-right: 10px;
      color: #a678f4;
    }
    .navbar-fixed {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 999;
    }
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom-left-radius: 40px;
      border-bottom-right-radius: 40px;
      padding: 80px 10%;
    }
    .hero h1 span {
      color: #a678f4;
    }
    .btn-custom {
      background: #a678f4;
      color: white;
      border: none;
      transition: 0.3s;
    }
    .btn-custom:hover {
      background: #8259ca;
    }
    .social-icons a {
      color: #a678f4;
      margin: 0 10px;
      font-size: 1.5rem;
      transition: 0.3s;
    }
    .social-icons a:hover {
      color: white;
    }
.img-profile {
  max-width: 450px; /* más pequeña que el ancho completo */
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0; /* quita esquinas redondas si tu imagen es PNG con forma */
  margin: auto;
}
    .servicio-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-top: 1px solid #444;
        background: transparent;
        transition: background 0.9s ease, transform 0.3s ease, box-shadow 0.5s ease;
    }
    .servicio-box:hover {
      background: #5f27cd;
      transform: scale(1.01);
      box-shadow: 0 0 20px rgba(166, 120, 244, 0.4);
      cursor: pointer;
    }
    .servicio-box:hover p,
    .servicio-box:hover h4,
    .servicio-box:hover h5,
    .servicio-box:hover i {
      color: #fff !important;
    }
.portafolio-item {
  transition: all 0.4s ease;
}

.portafolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 3, 20, 0.85); /* tono más oscuro y elegante */
  color: white;
  padding: 30px 20px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
  backdrop-filter: blur(5px);
}

.portafolio-item:hover .portafolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portafolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portafolio-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(166, 120, 244, 0.3);
}

.portafolio-overlay h5 {
  font-weight: 600;
  font-size: 1.2rem;
}

.portafolio-overlay p {
  font-size: 0.9rem;
  margin: 5px 0 0;
}

.portafolio-overlay .icono {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.2rem;
  color: #a678f4;
}
.bg-dark{
    background: #08070c !important;
}
.scroll-img-wrapper {
  height: 500px; /* Puedes ajustar la altura visible */
  position: relative;
}

.scroll-img-inner {
  animation: scrollVertical 22s linear infinite alternate;
  display: block;
}

@keyframes scrollVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-40%);
  }
}
.portafolio-overlay h5, .portafolio-overlay p, .portafolio-overlay .icono {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portafolio-item:hover .portafolio-overlay h5,
.portafolio-item:hover .portafolio-overlay p,
.portafolio-item:hover .portafolio-overlay .icono {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.portafolio-overlay .btn {
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 16px;
  transition: all 0.3s ease;
}

.portafolio-floating-card {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: linear-gradient(90deg, #53339c, #a678f4);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-in-out;
}

.portafolio-card:hover .portafolio-floating-card {
  transform: translateY(0);
  opacity: 1;
}

  .cv-card {
    background: #140c1c;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.8s ease;
    box-shadow: 0 0 0 transparent;
  }

  .cv-card:hover {
    transform: scale(1.03);
    background: #6d28d9;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
    color: white;
  }

  .cv-card:hover h5,
  .cv-card:hover p,
  .cv-card:hover small {
    color: white;
  }

  .text-purple {
    color: #a855f7;
  }
  .text-gradient-purple {
    background: linear-gradient(to right, #a678f1, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .skill-card {
    transition: all 0.3s ease;
    background-color: #13131a;
    border: 1px solid transparent;
  }

  .skill-card:hover {
    transform: scale(1.05);
    border: 1px solid #a678f1;
    box-shadow: 0 0 20px #a678f1;
  }
  .glow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 10px rgba(166, 120, 244, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(166, 120, 244, 0.6));
  }
  100% {
    filter: drop-shadow(0 0 10px rgba(166, 120, 244, 0.3));
  }
}
.bg-purple {
  background: linear-gradient(45deg, #a678f4, #6a44c4);
}
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer a:hover {
  color: #ffffff;
  transition: 0.3s;
}
