* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;

}






:root {
  --primary: #3b4550;
  --primary-dark: #0a3d66;
  --primary-hover: #0d5ba8;
  --primary-light: #09f;
  --background: #06182a;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --card-bg: #1e293b;
  --shadow: rgba(0, 0, 0, 0.3);
  --input-bg: #1e293b;
  --hsla-example: hsla(210, 100%, 56%, 1);
}










@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}






/* imagen titular */
/* .image-container {
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    max-width: 100px;
    
} */

/* imagen titular */
/* .image-container img {
    height: auto;
    width: 90%;
    border-radius: 25px;
    border-radius: 100%;

    a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
  }
} */




body {
  padding: 0% 1% 1% 1%;
  font-family: system-ui;
  background-color: var(--primary-dark);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}













/* h5 {
  color: white;
  
} */

/* Títulos principales */

h1 {
  color: white;
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-wrap: balance;
}

li{
  color: white;
}

h1+p {
  text-wrap: balance;
  margin-bottom: 2rem
}

/* Header */
header {
  border-radius: 0 0 25px 25px;
  /* coloco bordes */
  border-bottom: 3px solid var(--border);
  /* background: var(--background); */
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(45deg, var(--primary-dark), var(--primary-light));

}

/* Navegación del header a otras páginas */
nav {
  align-items: center;
  gap: 1rem;
  display: flex;

  a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;

    &:hover,
    &:focus {
      color: var(--primary);
      outline: none;
    }
  }
}

/* //! Este boton el del nav  */
.btn {
  color: var(--text-primary);
  /* border-color: var(--background); */
  /* border-color: white; */
}

.btn.active {
  color: var(--text-primary);
  background-color: var(--primary-hover) ;
  border-color: white ; 
  border: white solid 2px;
}

.btn:active {
  transform: scale(0.95);
  color: var(--text-primary) !important;
  background-color: var(--primary-hover) !important;

}

.btn:hover {
  /* background-color: var(--primary-hover); */
  /* border: white solid 1px; */
  transform: scale(0.95);
  /* border-color: white; */
}

/* //! carusel */
.hero-slide {
  background-size: cover;
  background-position: center;
  height: 500px; /* puedes ajustar esta altura */
  width: 100%;
  position: relative;

  h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-wrap: balance;
    text-shadow:
      3px 3px 0 black,
      -3px 3px 0 black,
      3px -3px 0 black,
      -3px -3px 0 black,
      3px 0px 0 black,
      -3px 0px 0 black,
      0px 3px 0 black,
      0px -3px 0 black,
      1px 3px 0 black,
      -1px 3px 0 white,
      1px -3px 0 black,
      -1px -3px 0 black,
      3px 1px 0 black,
      -3px 1px 0 black,
      3px -1px 0 black,
      -3px -1px 0 black;
  }

  h2 {
    color: black;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-wrap: balance;
    text-shadow:
      3px 3px 0 white,
      -3px 3px 0 white,
      3px -3px 0 white,
      -3px -3px 0 white,
      3px 0px 0 white,
      -3px 0px 0 white,
      0px 3px 0 white,
      0px -3px 0 white,
      1px 3px 0 white,
      -1px 3px 0 white,
      1px -3px 0 white,
      -1px -3px 0 white,
      3px 1px 0 white,
      -3px 1px 0 white,
      3px -1px 0 white,
      -3px -1px 0 white;
  }
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* oscurece un poco para que se lean los textos */
  z-index: 0;
}

.hero-slide * {
  position: relative;
  z-index: 1; /* asegura que el texto quede sobre el fondo */
}

.carousel-item {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}





/* //! DESACTIVADO DE MOMENTO */
.hero {
  border-radius: 3rem;
  padding-top: 20%;
  background-image: linear-gradient(rgba(255, 254, 254, 0.272), rgba(0, 0, 0, 0.637)), url(/assets/carru_1.png);
  /* ruta de la imagen de fondo */
  background-size: cover;
  /* cubre todo el contenedor */
  background-position: center;
  /* centra la imagen */
  background-repeat: no-repeat;
  /* evita que se repita */
  min-height: 00px;
  /* altura mínima del hero */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centra verticalmente el contenido */
  align-items: center;
  /* centra horizontalmente */
  /* padding: 3rem; */
  /* espacio interno */
  color: rgb(11, 11, 11);
  /* texto blanco para contrastar */
  /* text-shadow: 1px 1px 4px rgba(0,0,0,0.6); */
  /* mejora la legibilidad */

  h2 {
    color: black;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-wrap: balance;
    text-shadow:
      3px 3px 0 white,
      -3px 3px 0 white,
      3px -3px 0 white,
      -3px -3px 0 white,
      3px 0px 0 white,
      -3px 0px 0 white,
      0px 3px 0 white,
      0px -3px 0 white,
      1px 3px 0 white,
      -1px 3px 0 white,
      1px -3px 0 white,
      -1px -3px 0 white,
      3px 1px 0 white,
      -3px 1px 0 white,
      3px -1px 0 white,
      -3px -1px 0 white;
  }

  p {

    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow:
      3px 3px 0 black,
      -3px 3px 0 black,
      3px -3px 0 black,
      -3px -3px 0 black,
      3px 0px 0 black,
      -3px 0px 0 black,
      0px 3px 0 black,
      0px -3px 0 black,
      1px 3px 0 black,
      -1px 3px 0 black,
      1px -3px 0 black,
      -1px -3px 0 black,
      3px 1px 0 black,
      -3px 1px 0 black,
      3px -1px 0 black,
      -3px -1px 0 black;
  }

  button{
    background-color: var(--primary-light);
  }
}

/* //! FIN DESACTIVADO DE MOMENTO */







/* Footer */
footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px;

  small {
    color: var(--text-muted);
    font-size: 0.875rem;
  }
}





/* //! PRUEBA CSS */
body {
  background-color: #0a0f1b;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
  color: #36a2ff;
  border-color: #36a2ff;
}

.btn-outline-primary:hover {
  background-color: #36a2ff;
  color: white;
}


/* //! ANIMACIONES */
/* Animación principal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inicialmente oculto */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
}

/* Aplica animación solo cuando el slide está activo */
.carousel-item.active .fade-in-up {
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards; /* importante para que se quede visible */
}

/* Delays escalonados */
.carousel-item.active .delay-1 {
  animation-delay: 0.5s; /* aquí puedes cambiar el tiempo */
}
.carousel-item.active .delay-2 {
  animation-delay: 1s;   /* aquí también */
}

/* Pie de paguina */
footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 1% 0 0 0 ; 
    /* position: fixed; */
    width: 100%;
    /* bottom: 0; */
    /* margin-top: 100%; */
}

article {
  background-color: var(--card-bg);
  padding: 2rem;
  margin-bottom: 16px;
  border-radius: 2rem;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.5);

  svg {
    color: var(--primary-light);
    background: rgba(0, 153, 255, .3);
    width: 64px;
    height: 64px;
    border-radius: 100%;
    padding: 16px;
  }

  p {
    color: var(--text-muted);
  }

  h3 {
    font-weight: 500;
  }
}