

/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

@import url('https://fonts.cdnfonts.com/css/satoshi');




/*========== Fonts ==========*/
:root {

  --satoshi-font: 
}


/*========== Colors ==========*/
:root {
  --background-default: #070a1b;
  --background-color: #222538;
  --default-color: #f34852;
  --heading-color: #e0e5e9;
  --hover-color-white: #f4f6fa;
  --accent-color: #3b5d95;
  --contrast-color: #404d67;
  --surface-color: #2b2e42;
}

/* Estilo para el scroll suave */
html {
  scroll-behavior: smooth;
}



/*========== Stilos General Clases ==========*/


*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Satoshi", sans-serif;
  /*background-color: var(--background-color);*/
  /*background-image: radial-gradient(circle farthest-side at 75% 50%, #311566, var(--background-default) 62%);*/
  background-color: rgb(14 9 24 / var(--tw-bg-opacity, 1));
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li
 {
  color: var(--heading-color);
  font-family: var(--satoshi-font);
}

.bg-nav {
  background-color: var(--background-color);
}
.code-color {
  color: var(--default-color);
}
.title-default {
  font-weight: bold;
  text-align: center;
  background-image: linear-gradient(140deg, #ff9b26, #ee4f27);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;

}

.social-links a i{
  color: var(--heading-color);
}

.navbar-brand{
  color: var(--hover-color-white);
}

/* Estilos del navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 15px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 1000;

}

.navbar nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;


}





/* Estilos del navbar */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--background-color); 
}

.navbar-dark .navbar-nav .nav-link, 
.navbar-dark .navbar-brand {
  color: #fff; /* Texto blanco por defecto */
  transition: all 0.3s ease-in-out; /* Transición suave para el color */

}

.navbar.scrolled {
  backdrop-filter: blur(10px); /* Aplica desenfoque */
  -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
}

.navbar.scrolled .navbar-nav .nav-link, 
.navbar.scrolled .navbar-brand {
  color: #000 !important; /* Cambia el texto a negro al hacer scroll */
  
}





section,
.section {
  scroll-margin-top: 80px;
  overflow: clip;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#Hero-Section {
  background-image: url("../img/bg-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
}

.social-links a {
  background-color: var(--contrast-color);
  color: var(--hover-color-white);
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  background-color: var(--default-color);
}



/*--------------------------------------------------------------
# Servicios Section
--------------------------------------------------------------*/

.servcios {
  position: relative;
  display: inline-block;
  padding-bottom: 40px;
}



.servicios h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 128px;
  height: 3px;
  background: var(--default-color);
  margin: auto;
  background-image: linear-gradient(140deg, #ff9b26, #ee4f27);
}



.service-item {
  border: 1px solid hsla(0, 0%, 100%, .16);
  box-shadow: inset 0 1px #ff8e5d66;
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  height: 100%;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  color: var(--heading-color);

  position: relative;
  text-align: left;
  overflow: hidden;
}

    /* Fondo degradado superior con efecto suave */
    .service-item::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 60%;
      background-image: 
          radial-gradient(circle at 30% 140%, rgba(217, 126, 75, .3), transparent 37%),
          radial-gradient(circle at 50% 310%, #0400ff26, #a2a68700 78%),
          linear-gradient(transparent, #0d0a195e),
          radial-gradient(90% 60% at 50% 0, #a85c5c33, #67454500),
          radial-gradient(90% 10% at 50% 0, #a85c5c0d, #67454500 90%);
      background-blend-mode: overlay, multiply, normal;
      opacity: 0.6;
      border-radius: 12px 12px 0 0;
      pointer-events: none;
  }


.service-item:hover  {

  transform: translateY(-10px);

}



.service-item i {

  color: var(--default-color)


}


  p h4 .service-item{
  color: var(--heading-color);

}

.service-item h4 {
  color: var(--heading-color);

}

.service-item:hover p {
  color: var(--heading-color);


}

.service-item:hover h4 {
  color: var(--heading-color);


}





.service-item:hover i {
  color: var(--heading-color);


}












/*--------------------------------------------------------------
# Resumen Section
--------------------------------------------------------------*/

.cv-section {
  padding: 30px 35px 25px 30px;
  margin-bottom: 20px;
  border: 1px solid hsla(0, 0%, 100%, .16);
  box-shadow: inset 0 1px #ff8e5d66;
  color: var(--heading-color);
  background-image: 
  radial-gradient(circle at 30% 140%, rgba(75, 153, 217, 0.33) 0%, transparent 37%),
  radial-gradient(circle at 50% 310%, rgba(4, 0, 255, 0.15) 0%, rgba(162, 166, 135, 0) 78%),
  linear-gradient(transparent 0%, rgba(10, 22, 25, 0.37) 100%),
  radial-gradient(circle at 50% -30%, rgba(168, 92, 92, 0.2) 0%, rgba(255, 19, 19, 0) 100%),
  radial-gradient(90% 10% at 50% 0, rgba(168, 92, 92, 0.05) 0%, rgba(103, 69, 69, 0) 90%);
background-blend-mode: overlay, multiply, normal, lighten, normal;
transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.cv-section:hover{
  
  transform: translateY(-10px);
}

.cv-section i{
  color: var(--default-color);
}
.badge {
  margin-right: 5px;
}

.icons {
  display: flex;
  padding: 0.5rem 0;
  width: 120px;
  justify-content: space-between;
  font-size: 1.3rem;
  gap: 10px;
}
li::marker {
  color: var(--default-color);
}

/* Mis trabajos */
 .card-back{
 border-bottom: none;
 background: linear-gradient(126.6deg, rgba(124, 130, 177, .12) 28.69%, rgba(17, 18, 27, 0) 100%) !important;
 border: 2px solid #292b3d !important;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-back:hover{
  border: 1px solid rgb(59 93 149 / 26%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-10px);
}
.card-title{
  color: var(--heading-color);
}
.separator {
  border: none; /* Elimina el borde predeterminado */
  height: 4px; /* Grosor de la línea */
  background-color: white; /* Color de la línea */
  margin: 20px 0; /* Espaciado superior e inferior */
  width: 10%;
}



/* Contacto */

.form-control{
  background: var(--surface-color);
  border: var(--default-color);
  color: var(--default-color);
  
}
.form-control:focus{
  background: var(--surface-color);
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

#contacto form label {
  font-weight: 700;

}

.form-control::placeholder {
  color: #6c757d;
}

@media (max-width: 768px) {
  #Contacto form label {
    font-weight: 400;
  }

  .navbar-brand {
    width: 100px;
  }
}


.typewriter {
  font-size: 2rem;
  font-weight: bold;
  border-right: 3px solid white;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  min-width: 11ch; /* Mantiene el tamaño del bloque */
  text-align: center;
}

.block {
  color: white;
  padding: 88px 0px 0px 16px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  height: 250px; /* Altura fija */
  transition: background-color 0.3s, color 0.3s, transform 0.3s; /* Transiciones suaves */
}

.block .icon {
  font-size: 40px; /* Tamaño del icono */
  margin-bottom: 20px; /* Espacio entre el icono y el texto */
  transition: color 0.3s; /* Transición suave para el icono */
  color: var(--heading-color);
}

.block .text {
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.block:hover {
  color: var(--hover-color-white); /* Cambia el color del texto */
  transform: translateY(-5px); /* Efecto de elevar el bloque */
  cursor: pointer;
}

.block:hover .icon {
  color: var(--hover-color-white); /* Cambia el color del icono al pasar el cursor */
}

.block:hover .text {
  color: var(--hover-color-white); /* Cambia el color del texto */
}

/* Secciones */
.section {
  opacity: 0;  /* Oculto por defecto */
  transform: translateY(50px); /* Desplazamiento inicial */
  transition: opacity 0.2s ease-out, transform 0.9s ease-out;
}

/* Cuando la sección es visible */
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Seccion Contacto */
.card-contact {
  background: linear-gradient(358deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-contact:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-contact:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.card-contact:hover::before {
  opacity: 1;
}


   /* Indicador de scroll */
   .scroll-indicator {
    position: fixed;
    right: 400px;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    
}

.scroll-line {
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, #f34852, #e0222d, #bc1923);
    animation: scrollEffect 1.5s infinite ease-in-out;
}


.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--default-color);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    transition: box-shadow 0.3s ease-in-out;
}

.mouse-wheel {
    width: 6px;
    height: 10px;
    background: var(--default-color);
    border-radius: 3px;
    animation: wheelMove 1.5s infinite;
}

@keyframes wheelMove {
  0% { transform: translateY(-5px); opacity: 0.6; }
  50% { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(-5px); opacity: 0.6; }
}

 /* Efecto hover */
 .scroll-indicator:hover {
  transform: translateY(-3px);







}

.scroll-indicator:hover .scroll-line {
  background: linear-gradient(180deg, #f34852, #e0222d, #bc1923);
  box-shadow: 0 0 10px #e0222d;

}

.scroll-indicator:hover .mouse-icon {
  box-shadow: 0 0 15px #e0222d;

}





.floating-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.nav-item {
  color: white;
  text-decoration: none;
  font-size: 24px;
  margin: 0 15px;
  padding: 10px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-item:hover {
  background: var(--background-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 255, 255, 0.3);
}
.nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}
.nav-item:hover::after {
  opacity: 1;
}
.nav-item::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--background-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.nav-item:hover::before {
  opacity: 1;
}



       /* Navbar transparente con borde fino */
       .navbar-custom {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        background: transparent;
        border-bottom: 1px solid rgb(255 255 255 / 7%);
        transition: all 0.3s ease-in-out;
    }

        /* Estilos base */
        .navbar {
          background: transparent;
          transition: all 0.3s ease-in-out;
      }
      .navbar .navbar-brand,
      .navbar .nav-link,
      .navbar .user-name {
          color: white;
          transition: color 0.3s;
      }
      .navbar.scrolled {
        background-color: #020103; /* Fondo oscuro semitransparente */
        backdrop-filter: blur(6px); /* Efecto blur */
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgb(255 255 255 / 7%);
    border-color: rgb(42 25 25 / 60%);
      }
    

      /* Avatar */
      .avatar {
          width: 50px;
          height: 50px;
          border-radius: 50%;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          object-fit: cover;
          transition: border-color 0.3s;
      }
      .navbar.scrolled .avatar {
          border-color: rgba(0, 0, 0, 0.3);
      }

      /* Nombre y Rol */
      .user-info {
          display: flex;
          flex-direction: column;
      }
      .user-name {
          font-weight: 100;
          font-size: 1rem;
      }

      /* Estilo de la etiqueta con efecto heartbeat */
      .user-role {
          font-size: 0.9rem;
          font-weight: 100;
          text-align: center;
          transition: background 0.3s;
          display: flex;
          align-items: center;
          gap: 8px;
          position: relative;
      }
  
 


/* Contenedor del latido */
.heartbeat-container {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
}

/* Punto rojo con latido */
.heartbeat-dot {
  width: 8px;
  height: 8px;
  background-color: rgb(26, 196, 0);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: heartbeat 1.5s infinite ease-in-out;
}

/* Onda de radio */
.heartbeat-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(26, 196, 0);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -40%);
  z-index: 1;
  animation: heartbeat-wave 1.5s infinite ease-in-out;
}





.btn-download {

  transition: background 0.3s, transform 0.2s;
}

.btn-download i {
  transform: rotate(310deg);
  transition: transform 0.3s ease-in-out;
}



.btn-download:hover i {
  transform: rotate(310deg) translateX(5px) ;
}

.badge{
  border: 1px solid rgb(61 69 107 / 53%);
  background-color: rgb(14, 9, 24);
}

/* START TIME LINE */



.title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 30px;
}

.timeline {
  position: relative;
  padding-left: 20px; /* Espacio para la línea */
}

/* Línea vertical a la izquierda */
.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, rgb(232, 40, 53), rgb(234, 79, 89), rgb(239, 147, 153), #2b2e42);
  top: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-50%); /* Centrado de la línea */
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-start; /* Alineación a la izquierda */
  align-items: center;
}

/* Puntos con brillo decreciente */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: -25px; /* Alinea los puntos con la línea */
  border: 2px solid white;
  top: 0px;
}

.timeline-item:nth-child(1)::before {
  background-color: var(--default-color);
  box-shadow: 0 0 12px rgb(243, 73, 84);
  animation: blink 1.5s infinite alternate;
}

.timeline-item:nth-child(2)::before {
  background-color: var(--default-color);
  box-shadow: 0 0 8px rgb(243, 73, 84);
}

.timeline-item:nth-child(3)::before {
  background-color: var(--default-color);
  box-shadow: 0 0 5px rgb(243, 73, 84);
}

.timeline-item:nth-child(4)::before {
  background-color: var(--default-color);
  box-shadow: 0 0 5px rgb(243, 73, 84);
}

/* Animación de parpadeo */
@keyframes blink {
  0% { box-shadow: 0 0 12px rgb(243, 72, 82); }
  100% { box-shadow: 0 0 20pxrgb(243, 72, 82); }
}

.timeline-content {
  width: 100%;
  text-align: left;

}

.timeline-content h3 {
  margin: 0;
  color: #007bff;
  font-size: 1.2rem;
  font-weight: bold;
}

.year {

font-size: 12px;
}

.cargo {
  font-size: .8rem;
}



.empresa-año {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.empresa-año h3 {
  margin: 0;
  color: #007bff;
  font-size: 1.2rem;
  font-weight: bold;
}


/* END TIME LINE */

/* START CARRUSEL SKILLS */


.swiper-container {
  padding: 20px 0;
}
.swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: linear !important; /* 👈 Movimiento totalmente fluido */
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto; /* 👈 Ajusta el ancho automáticamente */
}
.badge-custom {
  font-size: 1rem;
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border-radius: 15px;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 2px; /* 👈 Espacio mínimo entre badges */
}

  /* Efecto de difuminado progresivo en los extremos */
  .fade-container {
    position: relative;
    width: 100%;
}
.fade-container::before,
.fade-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 14%;
    height: 67%;
    z-index: 2;
    pointer-events: none;
}
.fade-container::before {
    left: 0;
    background: linear-gradient(to right, rgb(14, 9, 24), rgb(255 255 255 / 0%));
}
.fade-container::after {
    right: 0;
    background: linear-gradient(to left, rgb(14, 9, 24), rgba(255, 255, 255, 0));
}



/* END CARRUSEL SKILLS */


.img-container img {
  height: 35px; /* Ajusta el tamaño según lo necesites */
}

a:hover h6 {
  color: var(--default-color); /* Cambia a color rojo al pasar el cursor */
  transition: color 0.5s ease-in-out;
}


.contact-list a {
  text-decoration: none;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 15px; /* Espaciado entre icono y texto */
  transition: color 0.5s ease-in-out;
}

.contact-list a i {
  color: var(--heading-color);
  transition: color 0.5s ease-in-out;
}

/* Cambio de color al pasar el cursor */
.contact-list a:hover, 
.contact-list a:hover i {
  color: var(--default-color);
}

.icon-container {
width: 30px;
}

.email-link {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
}
.email-link:hover {
  color: white;
}

/* Responsive */
@media (max-width: 575.98px) {
  .timeline {
      padding-left: 0;
  }
  .timeline::before {
      left: 0;
  }
  .timeline-item {
      flex-direction: column;
      align-items: flex-start;
  }
  .timeline-content {
      width: 100%;
  }
  .timeline-item::before {
      left: -6px;
  }

  .empresa-año, .cargo{

    margin-left: 20px;
  }

  .btn-download {
    display: none;
  }

  .floating-nav{
padding: 10px 0px;
  }
 
 
}



.effect-bg{
  aspect-ratio: 1 / 2.2;
            background-image: linear-gradient(#a13355, #5159d9);
            border-radius: 800%;
            filter: blur(128px);
            left: 50%;
            max-width: 150px;
            opacity: 0.45;
            position: absolute;
            top: 55%;
            transform: translate(-50%, -50%) rotate(80deg);
            width: 80%;
            z-index: -1;
}

.glow-effect {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,155,38,0.5) 10%, rgba(107,33,239,0.3) 80%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(50px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}





/* START KEYFRAMES */


/* Animación Scroll <Float*/
@keyframes scrollEffect {
  0% {
      height: 40px;
      opacity: 0.5;
  }
  50% {
      height: 100px;
      opacity: 1;
  }
  100% {
      height: 40px;
      opacity: 0.5;
  }
}


/* Animación del latido del punto */
@keyframes heartbeat {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  25% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Animación de la onda de radio sincronizada */
@keyframes heartbeat-wave {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  30% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.3; }
  70% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}


/* FIN KEYFRAMES */
