@font-face{
  font-family: "Carton Six";
  src: url("/fonts/cartonsix/cartonsix.woff2") format("woff2"),
       url("/fonts/cartonsix/cartonsix.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: rgb(39,42,42);
    color: #ffffff;
    overflow-x: hidden;
}

#tsparticles {
  position: fixed;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  z-index: 0;            /* <- antes estaba -1 */
  pointer-events: none;  /* no bloquea clics */
}

#tsparticles { position: fixed; z-index: -1; width: 100%; height: 100%; }
    header {
      
      color: #fff; padding: 3rem 1rem; text-align: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);  }
      
#particles-js { display: none; } 

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(39,42,42);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -3;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.ocultar {
    opacity: 0;
    visibility: hidden;
}

.loading-text {
    font-size: 2rem;
    color: #ffdda6;
    font-family: 'Carton Six', sans-serif;
}

.puntos::after {
    content: '';
    animation: dots 1.5s infinite steps(3);
}

@keyframes dots {
    0% { content: ''; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}

.navbar {
  background-color: rgb(59,64,64);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-whatsapp a {
    background-color: #25D366;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.icono-red {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.hero {
    padding: 100px 20px;
    text-align: center;
}

.header {
    background-color: rgb(59,64,64);
}

.titulo {
    font-family: 'Carton Six', sans-serif;
    font-size: 5rem;
    color: #e9d414;
    text-align: center;
}

.subtitulo {
    font-size: 1.5rem;
    color: #ffdda6;
    text-align: center;
}

.banner-video video {
    width: 100%;
    height: auto;
    display: block;
}

.seccion {
    padding: 80px 20px;
    background-color: rgb(59,64,64);
    margin: 20px 0;
    text-align: center;
}



.titulo-seccion {
    font-family: 'Carton Six', sans-serif;
    font-size: 3rem;
    color: #f24139;
    text-align: center;
}


.info-central {
    background-color: rgb(110,119,119);
    color: #ffffff;
}

.titulo-seccion2 {
  font-family: 'Carton Six', sans-serif;
    font-size: 3rem;
    color: #e9d414;
    text-align: center;
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.carousel img {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: auto;
}

.formulario input,
.formulario textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.formulario button {
    background-color: #f24139;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    background-color: rgb(39,42,42);
    color: #999999;
}

.videos-proyectos {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

.video-card {
  width: 300px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 20;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #b4b3b3;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 200;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #574848;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

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

  .nav-links li {
    text-align: center;
    margin: 1rem 0;
  }
}
.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.redes-sociales a {
  font-size: 1.8rem;
  color: #c28b88;
  transition: color 0.3s, transform 0.2s;
}

.redes-sociales a:hover {
  color: #00c9a7;
  transform: scale(1.2);
}

.videos-proyectos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.video-titulo {
  font-family: 'Carton Six', sans-serif;
  font-size: 1.4rem;
  color: #fff; /* o el color que combine con tu fondo */
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1s ease forwards;
  text-align: center;
}

.video-wrapper:nth-child(1) .video-titulo {
  animation-delay: 0.2s;
}
.video-wrapper:nth-child(2) .video-titulo {
  animation-delay: 0.4s;
}
.video-wrapper:nth-child(3) .video-titulo {
  animation-delay: 0.6s;
}

.video-card {
  overflow: hidden;
  border-radius: 20px;
}

.video-card video {
  width: 100%;
  border-radius: 20px;
  display: block;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.imagen-container {
  width: 100%;
  max-width: 480px;
  margin: 2rem auto 0;
}

.imagen-container img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 1200px) {
  .imagen-container {
    max-width: 900px;
  }
}

.titulo-principal { color: #e9d414; }
