/* Tipografía moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

body {
 font-family: 'Poppins', sans-serif;
  font-weight: 600;
  }

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
   
}
html, body {
  width: 100%;
  height: 100%;
  
}

.logo img {
  height: 100px; /* Ajustá según tu diseño */
  width: auto;
  display: block;
}
.logo {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {

  .logo img {
  height: 75px; /* Ajustá según tu diseño */
  width: auto;
  display: block;
}
.logo {
  display: flex;
  align-items: center;
}


}





/* HEADER GENERAL */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

/* Fila superior (redes sociales) */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 20px;
  background-color: #2e2e2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: #cccccc;
  font-size: 1.1em;
  margin-left: 20px;
  transition: color 0.2s, transform 0.2s;
}

.top-bar a:hover {
  color: #ffa94d;
  transform: scale(1.2);
}

/* Fila de navegación */
.nav-bar {
  background-color: #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 30px;
  transition: background-color 0.3s;
}



.nav-links a {
  color: #333333;
  margin-left: 25px;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ff7f00;
}
.header.scrolled .top-bar {
  background-color: rgba(48, 47, 47, 0.966);
}

.header.scrolled .nav-bar {
  background-color: rgba(255, 255, 255, 0.85);
}

/* Responsive menu icon */
#menu-toggle {
  display: none;
  font-size: 30px;
  color: rgb(0, 0, 0);
  cursor: pointer;
  transition: color 0.2s;
}

#menu-toggle:hover {
  color: #e7b11c;
}


#mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 30px 30px;
  transition: left 0.3s ease;
  z-index: 1500;
}

#mobile-menu.show {
  left: 0;
}

#mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s;
}

#mobile-menu a:hover {
  color: #ffbe32;
}

/* Redes sociales */
.mobile-socials {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.mobile-socials a {
  color: white;
  font-size: 1.4em;
  transition: transform 0.2s, color 0.2s;
}

.mobile-socials a:hover {
  color: #00ff99;
  transform: scale(1.2);
}

/* HERO */
.hero {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* oscuridad */
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 30px;
  border-radius: 10px;
  color: rgb(255, 255, 255);
  text-align: center;
  max-width: 90%;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 2;
  }

.slide-content h1 {
  
  font-size: 2.2em;
  margin-bottom: 10px;
  text-align: right;
  border-radius: 12px;
}
  

@media (min-width: 768px) {
  
  
  
  .slide h1 {
    font-size: 3.0em;
    position: absolute;
    top: 100px;
    right: 20px;
    margin: 0;
    z-index: 10;
  }

  .slide h2 {
    position: absolute;
    top: 200px;
    right: 50px;
    color: white;
    text-align: right;
    font-size: 1.8em;
  }

  .slide p {
    position: absolute;
    top: 255px;
    right: 50px;
    color: white;
    text-align: right;
    font-size: 1.3em;
  }

  .slide a.btn { 
    position: absolute;
    left: 50%;
    top: 350px; /* ajustá según lo abajo que lo quieras */
    transform: translateX(-50%);
    padding: 15px 35px;
    font-size: 1.3em;
    border-radius: 8px;
    z-index: 10;
    margin-top: 15px;
  }

}



.slide-content h2 {
  
  margin-bottom: 10px;
  
}

.slide-content p {
  margin-bottom: 15px;
  margin-top: 15px;
  
  
  
}

.slide-content .btn {
  background: #ffab0f;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  border-radius: 8px;
  transition: background 0.2s;
}

.slide-content .btn:hover {
  background: #e69900;
}
/* Animación Hero */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Opcional: asegurate que .slide-content esté posicionada bien */
.slide-content {
  text-align: left;
  padding: 2rem;
  color: white;
}

/* Animaciones base */
.anim-h1, .anim-h2, .anim-p {
  opacity: 0;
  transform: translateY(20px); /* se puede dejar para h1 */
  transition: all 1.5s ease-out;
}

/* solo el h1 baja */
.slide.active .anim-h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.0s;
}

/* h2 y p entran desde la izquierda */
.slide.active .anim-h2 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 3.2s;
}

.slide.active .anim-p {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 6s;
}

/* punto de partida fuera de pantalla */
.anim-h2, .anim-p {
  transform: translateX(-30px);
}


@media (max-width: 767px) {
  .hero {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  
    
  }
  
  .slide {
    
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    padding: 20px;
  }

  .slide img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .slide-content {
    margin-top: -150px;
    position: relative;
    padding: 20px;
    max-width: 100%;
    border-radius: 10px;
    
  }

  .slide-content h1 {
    font-size: 1.6em;
    margin-bottom: 35px;
    margin-top: 30px;
  }

  .slide-content h2 {
    font-size: 1,2em;
    margin-bottom: 45px;
    margin-left: 50px;
  }

  .slide-content p {
    font-size: 1em;
    margin-top: 30px;
    margin-bottom: 80px;
    margin-left: 50px;
  }

  .slide-content .btn {
  font-size: 0.95em;
  padding: 15px 25px;
  margin-top: 80px;
  display: block;          /* que ocupe todo el ancho disponible */
  margin-left: auto;       /* margen automático izquierdo */
  margin-right: auto;      /* margen automático derecho */
  width: fit-content;      /* ancho según contenido, opcional */
}


  .carousel {
    position: relative;
  }
}




/* SERVICIOS */

.contenedor-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  width: 23%;
  height: 300px; /* o el alto que quieras */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* h3 encima de la imagen */

#servicios {
  margin-top: 100px; /* ajustá el valor según lo que necesites */
}
.card h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6); /* fondo oscuro semitransparente */
  color: white;
  font-size: 1.1em;
  text-align: center;
}
.titulo-servicios {
  text-align: center;
  margin-bottom: 60px;
}

.titulo-servicios h1 {
  font-size: 2.5em;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}



/* NOSOTROS */
.nosotros {
  position: relative;
  background: #2e2e2e; 
  padding: 120px 25px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 20px;
   z-index: 1;
}

/* NOSOTROS */
.nosotros::before { /* linea diagonal */
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: white; /* color de fondo de la sección anterior */
  transform: skewY(-2.5deg); /* ángulo de la línea */
  z-index: -1;
}

.nosotros::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: white; /* color de la siguiente sección */
  transform: skewY(2.5deg);
  z-index: -1;
}

.nosotros img {
  max-width: 200px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.nosotros p {
  color: #f8f8f8;
  font-size: 18px;
  margin-bottom: 60px;
}


/* Razones para elegirnos */
.razones {
  padding: 60px 20px;
  text-align: center;
}

.razones h2 {
  font-size: 3em;
  margin-bottom: 70px;
  color: #f59031;
}

.razones-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.razon {
  flex: 1 1 200px;
  max-width: 300px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.razon:hover {
  transform: translateY(-5px);
}

.razon h3 {
  margin-bottom: 10px;
  color: #222;
}

.razon p {
  color: #555;
}
.razon i {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #f59031; /* o el color que quieras */
}



/* CONTACTO */
.contacto {
  background-color: #222; /* fondo oscuro */
  color: #fff;            /* texto blanco */
  text-align: center;
  padding: 60px 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.contacto p {
  margin: 10px 0;
  font-weight: 300;
}

.contacto p::before {
  margin-right: 8px;
}


/* FOOTER */
.footer {
  background-color: #222;
  color: #f2f2f2;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95em;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
  
}

.footer p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer i {
  color: #f2f2f2;
}

.footer-redes {
  margin: 20px 0;
}

.footer-redes a {
  margin: 0 10px;
  font-size: 1.5em;
  color: #f2f2f2;
  transition: color 0.3s;
}

.footer-redes :hover {
  color: #ffce46; /* o cualquier color que combine con tu estilo */
}

.footer p:last-child {
  margin-top: 30px;
  font-size: 0.85em;
  color: #bbb;
}
.footer {
  border-top: 5px solid #ffc251;
}


/* WhatsApp flotante */
.btn-wsp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: inline-block;
}

.wsp-icono {
  width: auto; /* usa el tamaño real de la imagen */
  height: 60px; /* o poné el valor exacto que querés */
  box-shadow: none;
  border: none;
  border-radius: 0;
  transition: none;
  display: block;
}


.wsp-icono:hover {
  transform: scale(1.1);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  #menu-toggle {
    display: block;
  }

  .card,
  .trabajo {
    width: 90%;
  }

  .nav-bar {
    padding: 15px 20px;
    height: auto;
  }

  .hero {
    padding: 0px;
  }
}


.top-bar-right i,
.footer-redes i,
.mobile-socials i {
  font-size: 18px;
}

.top-bar-right a,
.footer-redes a,
.mobile-socials a {
  margin-left: 15px;
  color: #fff;
  text-decoration: none;
}

.mobile-socials a {
  color: #333;
}

.footer-redes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

[id] {
  scroll-margin-top: 145px;
}