/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  background-color: #f2f5f8e7;
  color: #0b0b0b;
  text-align: center;
}

header {
  background-color: #2c3e50;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

main {
  flex: 1;
}

.hero h1, 
.hero p {
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  margin: 0 auto;
}

.hero h1 {
  position: relative;
  z-index: 2;
  background-size: cover;
  background-position: center;
  padding: 20px 20px;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
  background-color: #cccccc98;

  /* Tu estilo personalizado puede seguir acá */
}

.hero p {
text-align: center;
  font-size: x-large;
  font-style: italic;
  font-weight: 500;
  background-color: #cccccc98;
}

@keyframes fondoAnimado {
  0% {
    background-image: url('../imagenes/fondo.jpg');
  }

  33% {
    background-image: url('../imagenes/fondo2.jpg');
  }

  66% {
    background-image: url('../imagenes/fondo3.jpg');
  }

  100% {
    background-image: url('../imagenes/fondo.jpg');
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  animation: fondoAnimado 15s infinite;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(227, 218, 218, 0.4);
  z-index: 1;
}
.paginaenconstruccion{
    background-color: #e60e0e;

}
.seccion-info {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.seccion-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
  text-decoration: underline;
}

.seccion-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
  font-style: italic;
}

.seccion-info p {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.6;
}

.youtube {
  display: flex;
  justify-content: center;
}

iframe {
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  justify-content: space-between;
  border-radius: 3.5%;
}

.servicios {
  flex-wrap: nowrap;
  padding: 40px 20px;
  background-color: #f2f5f8e7;
}

.servicios h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}

.servicios ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
  padding: 100px;

}

.servicios ul li a {
  font-size: 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  background-color: #e7faffd7;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.servicios-informacion div {
  padding: 5%;

}

footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.redes-sociales a img {
  width: 24px;
  margin: 0 10px;
}

.redes-sociales img {
  border-radius: 15%;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .servicios ul {
    flex-direction: column;
    align-items: center;
  }
}


.contacto {
  padding: 40px 20px;
  background-color: #fff;
 max-height: 100%;
  margin: 0 auto;
   max-width: 70%;
}

.contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto label {
  font-weight: bold;
}

.contacto input,
.contacto textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.contacto button {
  background-color: #2c3e50;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.contacto button:hover {
  background-color: #1a252f;
}

.info-contacto {
  margin-top: 30px;
  font-size: 16px;
}


.descripcion {
  margin-top: 1rem;
}

.descripcion h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #333;
}

.descripcion p {
  color: #555;
  font-size: 0.95rem;
}


.mensaje-exito {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #4caf50;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.mensaje-exito.mostrar {
  opacity: 1;
}

.mensaje-exito.oculto {
  opacity: 0;
}

.mensaje-error {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #f44336;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.mostrar {
  opacity: 1;
}

.oculto {
  opacity: 0;
}
/* CATALOGO - CARRUSEL */
.nodisponible h1 {
background-color: orange;
}

.carrusel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 2rem 0;
  padding: 0 1rem;
}

.carrusel {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 1s ease-in-out;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  justify-content: space-between
}

.card {
  flex: 0 0 auto;
  min-width: 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  flex-wrap: nowrap;
  scroll-snap-align: start;
}

.card img {
  width: 50%;
  border-radius: 10px;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #222;
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 1;
}

button.prev {
  left: 0;
}

button.next {
  right: 0;
}
#maquinas-nuevas h2{
  font-weight: 700;
  font-size: 300%;
  margin-top: 5%;
}
#maquinas-usadas h2{
  font-weight: 700;
  font-size: 300%;
  margin-top: 5%;
}