@import url('https://fonts.googleapis.com/css2?family=Coiny&family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  color: white;
  background: black;
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== VIDEO DE FONDO ========== */
video#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* ========== NAVEGACIÓN ========== */
nav {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 30px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-container {
  flex: 1;
}

.logo {
  height: auto;
  max-height: 120px;
  width: auto;
}

.barra {
  display: flex;
  gap: 30px;
  font-size: 24px;
  font-family: 'Coiny', cursive;
  align-items: center;
}

.barra li {
  list-style: none;
}

.barra a {
  text-decoration: none;
  color: yellow;
  font-weight: bold;
  transition: color 0.2s;
}

.barra a:hover {
  color: white;
}

.menu-toggle {
  display: none;
  background-color: transparent;
  border: none;
  font-size: 36px;
  color: yellow;
  cursor: pointer;
  margin-top: 10px;
}

/* ========== ENCABEZADO ========== */
main {
  font-size: 21px;
}

header h1 {
  font-weight: 700;
  font-size: 41px;
}

.grande {
  font-size: 100px;
  font-family: 'Coiny', cursive;
}

.encolumnar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 30px;
  border-bottom: 0.5px solid gray;
}

section {
  width: 45%;
}

header img {
  width: 70%;
  margin-left: 30%;
}

.imagenprincipal {
  width: 50%;
  margin: auto;
  height: 300px;
}

/* ========== TEXTOS DESTACADOS ========== */
.nuestrotaller,
.somos,
#titulo,
.querescontacto,
.oferta,
.contacto1,
.ubicacion1 {
  color: yellow;
  font-size: 25px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.envianos {
  font-size: 30px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.textonuestrotaller {
  font-size: 21px;
}

.trabajamosconpasion {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.pasion1{
 display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* para que los hijos se apilen verticalmente */
  text-align: center;
  margin-left: 10%;
}

/* ========== FORMULARIO ========== */
form {
  margin: auto;
}

input,
textarea {
  width: 100%;
  font-size: 16px;
}

input {
  height: 40px;
}

.boton input,
button[type="submit"] {
  border: none;
  width: auto;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
}

/* ========== LISTAS ========== */
.servi {
  list-style-type: none;
}

ol li {
  margin-bottom: 6%;
}

/* ========== CARRUSEL ========== */
.box {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #020202;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.carousel {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.carousel img.active {
  display: block;
}

.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.controls button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: yellow;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
}

.controls button:hover {
  background-color: rgba(0, 0, 0, 0.933);
}

/* ========== FOOTER ========== */
footer {
  min-height: 450px;
  padding: 40px 20px;
  background-color: #111;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.footer-contacto,
.footer-mapa {
  flex: 1 1 300px;
  text-align: center;
}

.footer-contacto h3,
.footer-mapa h3 {
  margin-bottom: 10px;
}

.footer-contacto a {
  color: #fdffff;
  text-decoration: none;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 10px;
  background-color: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.footer-derechos {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #eff801c0;
  padding-top: 20px;
}

/* ========== ASIDE ========== */
.seguinosenredes {
  font-size: 30px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

aside img {
  width: 50%;
  height: auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .grande {
    font-size: 48px;
  }

  h2,
h3 {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .barra {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    width: 100%;
    border-top: 1px solid yellow;
  }

  .barra.active {
    display: flex;
  }

  .barra li {
    margin: 10px 0;
  }

  nav a {
    font-size: 20px;
  }

  nav {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .logo-container,
  .logo,
  header img,
  .imagenprincipal {
    width: 100%;
    margin: 0 auto;
  }

  .encolumnar {
    flex-direction: column;
    align-items: center;
  }

  section {
    width: 90% !important;
  }

  .carousel {
    height: auto;
  }

  .carousel img {
    height: auto;
  }

  .controls button {
    font-size: 30px;
    padding: 15px;
  }

  .footer-contacto,
  .footer-mapa,
  .footer-derechos {
    flex: 1 1 100%;
    text-align: center;
  }

  .btn-whatsapp {
    display: block;
    width: 80%;
    margin: 10px auto;
    font-size: 16px;
    padding: 10px;
  }

  .seguinosenredes {
    font-size: 24px;
    text-align: center;
  }

  aside img {
    width: 80%;
    margin: 10px auto;
  }

  .telefono {
    margin: 0 auto;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  main,
  header,
  footer,
  aside {
    max-width: 1400px;
    margin: 0 auto;
  }
}
