body {
 margin: 0;
    font-family: Arial;
}

/* HEADER */
header {
    background-color: #0d3557;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}

/* BOTÓN */
.menu-icon {
    font-size: 30px;
    position: absolute;
    left: 15px;
    top: 15px;
    cursor: pointer;
}

/* MENÚ */
nav {
    display: none; /* oculto al inicio */
}

/* CUANDO SE ABRE */
nav.activo {
    display: block;
}

/* LISTA */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #0d3557;
}

/* ELEMENTOS */
nav ul li {
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* LINKS */
nav ul li a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
}

/* HOVER */
nav ul li a:hover {
    background-color: #1c4f7a;
}

   font-family: Arial, sans-serif;
   background-color: #f0f3f7;
   color: #333;
   margin: 0;
}
header {
   background-color: #2c3e50;
   color: #ecf0f1;
   padding: 15px;
   text-align: center;
}
header h1 {
   margin: 0;
   font-size: 2.5em;
}
nav ul {
   list-style: none;
   padding: 0;
   margin: 10px 0 0;
}
nav ul li {
   display: inline-block;
   margin: 0 15px;
}
nav ul li a {
   color: #ecf0f1;
   text-decoration: none;
   font-size: 1.2em;
}
nav ul li a:hover {
   color: #1abc9c;
}
main {
   padding: 20px;
   text-align: center;
}
main h2 {
   color: #34495e;
   font-size: 2em;
   margin-top: 0;
}
main p {
   font-size: 1.2em;
}
footer {
   background-color: #2c3e50;
   color: #ecf0f1;
   text-align: center;
   padding: 4px 0;
   position: fixed;
   width: 100%;
   bottom: 0;
}

table {
  width: 100%;
  margin-top: 10px
  font-size: 14px
  border-radius: 8px
  overflow: hidden;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: white;
  table-layout: fixed;
  width: 100%;
}

th, td {
  padding: 5px;
  text-align: left;
  border-bottom: 2px solid #333;
  color: #0d47a1;
  font-size: 16px;
  padding: 10px;
  font-family: Arial, sans-serif;
}

th {
  background-color: #1e1e1e;
  color: white;
}
tr:hover {
  background-color: #f1f1f1;
}
.Productos-link {
  padding: 8px 12px
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.Productos-link:hove {
background-color: #555;
}
.product-img {
  max-width: 100%
  max-height: 100%
  object-fit: contain;
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: flex;
  justify-content: center;
  background: #fff;

}


form {
  max-width: 400px;
  margin: 0 auto;
  font-family: Arial, sans-serif;

}

label {
  disply: block;
  margin-bottom: spx;
  font-weight: bold;

}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

/* Efecto cuando haces clic en los campos */
input:focus, select:focus, textarea:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* BOTÓN MEJORADO */
input[type="submit"] {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Hover */
input[type="submit"]:hover {
    background: linear-gradient(135deg, #45a049, #1B5E20);
    transform: scale(1.05);
}

/* Click */
input[type="submit"]:active {
    transform: scale(0.97);
}

/* Centrar botón */
input[type="submit"] {
    display: block;
    margin: 20px auto;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  border: none
  padding: 10px 15px;
  cursor: pointer;

}

input[type="submit"]:hover {
  background-color: #45a049


}


.boton-flotante{
  position: fixed;
  align-items: cemter;
  justify-content: center;
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: 30px;
  border-radius: 50px;
  box-shadow: 1px 1px 1px #ccc;
  z-index: 100;

}

.boton-flotante img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 60%;


}

/* Sección general */
.productos {
  text-align: center;
  padding: 40px;
}


/* CONTENEDOR EN FORMA DE CUADRÍCULA (TABLITA) */
.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* TARJETA DE PRODUCTO */
.producto {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}


/* EFECTO AL PASAR EL MOUSE */
.producto:hover {
  transform: scale(1.03);
}

.producto img {
  width: 100%;
  height: 300px;
  border: 20px solid white;
  object-fit: contain;
  background: #fff;
  border-radius: 5px; 
  display: block;
  margin: auto;

}

/* TITULO */
.producto h3 {
  margin: 10px 0;
}

/* DESCRIPCIÓN */
.descripcion {
  font-size: 14px;
  color: #555;
}

/* PRECIO */
.precio {
  font-weight: bold;
  margin: 10px 0;
}

/* BOTÓN */
.btn-cotizar {
  display: block;
  text-align: center;
  background: #28a745;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}


/* HOVER BOTÓN */
.btn-cotizar:hover {
  background: #218838;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CONTENEDOR PRINCIPAL */
.slider {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

/* CONTENEDOR DE TODAS LAS IMÁGENES */
.slides {
  display: flex;
  width: 500%;
  height: 100%;
  animation: slide 25s infinite;
}

/* CADA SLIDE */
.slide {
  width: 100%;
  height: 100%;
  flex: 0 0 100%
  position: relative;
}

/* IMÁGENES */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(
  175deg,
  #001f99 64%,
  white 35%
  );
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* TEXTO ENCIMA */
.contenido {
position: absolute;
  top: 30%;
  left: 10%;
  color: white;
  max-width: 400px;
}

.contenido h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contenido p {
  font-size: 16px;
  margin-bottom: 15px;
}

.contenido a {
  display: inline-block;
  padding: 10px 20px;
  background: green;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* ANIMACIÓN CORREGIDA (todas las imágenes pasan) */
@keyframes slide {
  0% { margin-left: 0%; }
  16% { margin-left: 0%; }

  20% { margin-left: -100%; }
  36% { margin-left: -100%; }

  40% { margin-left: -200%; }
  56% { margin-left: -200%; }

  60% { margin-left: -300%; }
  76% { margin-left: -300%; }

  80% { margin-left: -400%; }
  96% { margin-left: -400%; }

  100% { margin-left: 0%; }
}

/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== FUENTE ===== */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f7fa;
  color: #1a1a1a;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== TITULO PRINCIPAL ===== */
h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0a4fa3;
  text-align: center;
  margin-bottom: 10px;
}

/* ===== SUBTITULO ===== */
h3 {
  font-size: 22px;
  font-weight: 400;
  color: #555;
  text-align: center;
  margin-bottom: 25px;
}

/* ===== TODOS LOS PARRAFOS ===== */

main p {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  font-weight: lighter;
  margin: 20px auto;
  letter-spacing: 0.4px;
  color: #555;
}

/* ===== IMÁGENES ===== */
img {
  display: block;
  margin: 15px auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* ===== SEPARACIÓN VISUAL ===== */
p + img {
  margin-top: 10px;
}

img + p {
  margin-top: 20px;
}

/* ===== EFECTO HOVER SUAVE (PRO) ===== */
img:hover {
  transform: scale(1.03);
  transition: 0.3s;
}

/* ===== RESPONSIVO (CELULAR) ===== */
@media (max-width: 768px) {
  main {
    margin: 20px;
    padding: 20px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
  }

table {
  border-collapse: collapse;
  width: 100%;
}

/* ===== MEJORAS PRO ===== */

/* Transiciones suaves en todo */
* {
  transition: all 0.3s ease;
}

/* Contenedor más elegante */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 35px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08)
}

/* Párrafos más finos */
main p {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.4px;
}

main p {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.4px;

/* Títulos con estilo pro */
h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* Línea decorativa debajo del título */
h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #0a4fa3;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Imágenes más elegantes */
img {
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Hover más suave y profesional */
img:hover {
  transform: scale(1.05);
}

/* Separación entre secciones */
p + p {
  margin-top: 25px;
}

/* Fondo más moderno */
body {
  background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
}

@media (max-width: 768px) {

    body{
        overflow-x: hidden;
    }

    .index.html,
    .nosotros.html,
    .productos.html
    .cotizaciones.html
    .contacto.html{
        width: 100%;
        padding: 20px;
    }

    h1{
        font-size: 28px;
        text-align: center;
    }

    h2{
        font-size: 22px;
        text-align: center;
    }

    p{
        font-size: 16px;
        text-align: center;
    }

    .contenedor{
        flex-direction: column;
    }

    img{
        width: 100%;
        height: auto;
    }

    nav{
        flex-direction: column;
    }
}