body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #5b5757;
}

.top-bar {
  background: #676363;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0.5em 1em;
  font-size: 0.9em;
}

.navbar {
  display: flex;
  justify-content: flex-end; /* Alinea los elementos internos a la derecha */
  align-items: center;
  background-color: #1e1e1e;
  padding: 35px 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00bcd4;
}

.logo {
  position: absolute;
  left: 70px;
  top: 45px;
}

.logo img {
  height: 100px;
}

.hero {
  background: url('imagenes/fondo2---500px.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5em 1em;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 1em;
}

.btn {
  background: #ff6600;
  color: #fff;
  padding: 0.7em 1.5em;
  text-decoration: none;
  border-radius: 5px;
}

.map-section {
  padding: 2em 1em;
  background: #f9f9f9;
}

footer {
  background: #4f6364;
  color: #fff;
  padding: 2em 1em;
  text-align: center;
}

.footer-info p {
  margin: 0.5em 0;
}

.footer-bottom {
  margin-top: 1em;
  font-size: 0.9em;
  color: #aaa;
}

.social-icons a {
  margin-left: 1em;
  display: inline-block;
}

.social-icons img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.nav-container {
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  padding: 10px;
  border-bottom: 2px solid #ccc;
}

.nav-bar {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.nav-bar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.arrow-btn {
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0 10px;
}

.hidden {
  display: none;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}


.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 10;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.4); /* Fondo semitransparente */
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.carousel-container {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  display: flex;
  width: 600%; /* 6 imagenes */
  animation: slide 18s infinite;
}

.slide {
  width: 16.6666%; /* 100% / 6 imagenes */
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
}


.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 10;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.4); /* Fondo semitransparente */
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.carousel-container {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  display: flex;
  width: 600%; /* 6 imágenes */
  animation: slide 18s infinite;
}

.slide {
  width: 16.6666%; /* 100% / 6 imágenes */
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Animacion automatica */
@keyframes slide {
  0% { transform: translateX(0%); }
  16.66% { transform: translateX(-16.6666%); }
  33.33% { transform: translateX(-33.3333%); }
  50% { transform: translateX(-50%); }
  66.66% { transform: translateX(-66.6666%); }
  83.33% { transform: translateX(-83.3333%); }
  100% { transform: translateX(0%); }
}

/*nosotros.html --------------------------------------- */
/* Seccion ¿Quienes Somos? */
.quienes-somos {
  padding: 50px 20px;
  background-color: #f9f9f9;
  color: #333;
}

.qs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.qs-texto {
  flex: 1 1 400px;
  max-width: 600px;
}

.qs-texto h1 {
  font-size: 2.4em;
  color: #004080;
  margin-bottom: 20px;
}

.qs-texto p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.qs-galeria {
  flex: 1 1 400px;
}

.qs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}


.qs-grid img {
  width: 100%;
  height: 150px;   /* Ajusta esta altura a lo que prefieras */
  object-fit: cover;  /* Recorta y mantiene proporción */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.qs-grid img.banner-full {
  grid-column: 1 / -1;   /* ocupa toda la fila */
  height: auto;
  max-height: 400px;     /* puedes subirlo si quieres */
  object-fit: contain;   /* muestra la imagen completa sin recortes */
  margin-top: 10px;
}

.qs-grid img:hover {
  transform: scale(1.05);
}

/* Seccion Servicio Tecnico */
.servicio-tecnico {
  padding: 50px 20px;
  background-color: #eef6ff;
  text-align: center;
}

.servicio-tecnico h2 {
  font-size: 2em;
  color: #004080;
  margin-bottom: 30px;
}

.servicio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

.servicio-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 300px;
  text-align: center;
}

.servicio-card img {
  width: 60px;
  margin-bottom: 15px;
}

.servicio-card p {
  font-size: 0.95em;
  color: #333;
}

/*nosotros.html (2)--------------------------------------- */


.footer-social {
  text-align: center;
  padding: 0.5em 2em;
  background-color: #5a9ca1;
  width: 100px;
  height: auto;
  border-radius: 8px;
}
.footer-social {
  margin: 0 auto;
  display: block;
}




/*nosotros.html (3)--------------------------------------- */

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 2em 1em;
  background-color: #4f6364;
  color: #fff;
}

.footer-column {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #ffd700;
}

.footer-column p {
  margin: 5px 0;
  font-size: 0.95em;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-social {
  margin-top: 10px;
}

.footer-social a {
  margin-right: 10px;
  display: inline-block;
}

.footer-social img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  background-color: #2f3f40;
  color: #ccc;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}
/*productos.html (3)--------------------------------------- */
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* 🗼 Encabezado */
.header-productos {
  background: url('imagenes/fondo2.jpg') no-repeat center center/cover;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.header-productos h1 {
  font-size: 2.8em;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* 🔌 Productos */
.productos-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #fafafa;
}

.producto {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.producto:hover {
  transform: translateY(-5px);
}

.producto img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.producto h2 {
  margin-top: 15px;
  font-size: 1.4em;
  color: #005a9c;
}

.producto ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* 🚗 Rastreo Satelital */
.rastreo-satelital {
  background-color: #e6f0ff;
  padding: 40px 20px;
  text-align: center;
}

.rastreo-satelital img {
  max-width: 500px;
  width: 100%;
  margin: 20px 0;
  border-radius: 8px;
}

.rastreo-satelital h2 {
  font-size: 2em;
  color: #003366;
}

/* 📻 YAESU */
.yaesu {
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.yaesu img {
  max-width: 400px;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.yaesu h2 {
  font-size: 1.8em;
  color: #cc0000;
}

.yaesu ul {
  margin-top: 10px;
  padding-left: 20px;
  text-align: left;
  display: inline-block;
}




.footer .redes-sociales img {
  width: 30px;
  margin: 0 10px;
  filter: brightness(1) invert(0);
}



/*contacto.html (4)--------------------------------------- */
/* 🛰️ Encabezado */
.header-contacto {
  background: url('imagenes/fondo1.jpg') no-repeat center center/cover;
  padding: 80px 20px;
  text-align: left;
  color: white;
}

.header-contacto h1 {
  font-size: 3em;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* 📞 Sección principal */
.contacto-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  background-color: #fff;
}

.info-contacto {
  flex: 1 1 300px;
  margin-right: 40px;
}

.info-contacto h2 {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
}

.info-contacto p {
  margin: 10px 0;
  font-size: 1em;
  display: flex;
  align-items: center;
}

.info-contacto img {
  width: 20px;
  margin-right: 10px;
}

/* 📩 Formulario */
.formulario-contacto {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.formulario-contacto button {
  background-color: #005a9c;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #003f6b;
}

/* 🏢 Información de empresa */
.empresa-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.logo-descripcion {
  flex: 1 1 300px;
}

.logo-descripcion img {
  width: 120px;
  margin-bottom: 10px;
}

.logo-descripcion h2 {
  color: #cc0000;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.logo-descripcion p {
  font-size: 1em;
  color: #333;
}

/* 📷 Redes e imágenes */
.redes-imagenes {
  flex: 1 1 300px;
  text-align: center;
}

.redes-imagenes h3 {
  color: #003366;
  margin-bottom: 10px;
}

.redes-sociales img {
  width: 30px;
  margin: 0 10px;
}

.galeria-empresa {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.galeria-empresa img {
  width: 100px;
  border-radius: 6px;
  object-fit: cover;
}

