/* ============================================
   LIFTGATE - styles.css
   Paleta: Azul #16418b | Rojo #dc2313 | Blanco
============================================ */

/* RESET */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
  background-color: #ffffff !important;
  border-bottom: 3px solid #16418b;
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #dc2313 !important;
}

.nav-home {
  color: #16418b !important;
}

.nav-home:hover {
  color: #dc2313 !important;
}

/* ================= HERO / CARRUSEL IMAGENES ================= */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.52);
  top: 0;
  left: 0;
  z-index: 1;
}

.carousel-img {
  height: 520px;
  object-fit: cover;
}

.carousel-caption {
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px 28px;
  border-radius: 0;
  border-left: 4px solid #dc2313;
  text-align: left;
  bottom: 60px;
  left: 10%;
  right: auto;
  max-width: 520px;
}

.carousel-caption h1 {
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.carousel-caption p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ================= SECCIONES ================= */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: #f5f6f7 !important;
}

/* ================= SECTION TAG (etiqueta sobre título) ================= */
.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #dc2313;
  margin-bottom: 6px;
}

/* ================= TITULOS ================= */
h2 {
  color: #16418b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

/* ================= BOTONES ================= */
.btn-danger {
  background-color: #dc2313;
  border: none;
  border-radius: 0;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.btn-danger:hover {
  background-color: #b71c10;
}

.btn-outline-primary-custom {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid #16418b;
  color: #16418b;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0;
  transition: 0.25s;
}

.btn-outline-primary-custom:hover {
  background-color: #16418b;
  color: #fff;
}

/* ================= TARJETAS ================= */
.card {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: #dc2313;
  box-shadow: 0 4px 16px rgba(220, 35, 19, 0.1);
}

.card h4,
.card h5,
.card h6 {
  color: #16418b;
  font-weight: bold;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* ================= SERVICE CARDS ================= */
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-icon {
  font-size: 2.2rem;
  color: #dc2313;
  margin-bottom: 16px;
}

/* ================= STATS ================= */
.stat-box {
  background: #f5f6f7;
  border-left: 4px solid #16418b;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stat-num {
  font-size: 2rem;
  font-weight: bold;
  color: #dc2313;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #555;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================= CARRUSEL DE VIDEOS ================= */
.video-carousel {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 50px; /* espacio para indicadores */
}

.video-carousel-item {
  padding: 0 10px;
}

.video-frame {
  border: 3px solid #16418b;
  background: #000;
}

.video-caption {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 16px 20px;
  text-align: left;
}

.video-caption h5 {
  color: #16418b;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 4px;
}

.video-caption p {
  color: #666;
  font-size: 0.88rem;
  margin: 0;
}

/* Flechas oscuras para carrusel de videos (fondo claro) */
.carousel-control-dark .carousel-control-prev-icon,
.carousel-control-dark .carousel-control-next-icon {
  filter: invert(1) brightness(0);
}

.carousel-control-dark {
  opacity: 0.6;
}

.carousel-control-dark:hover {
  opacity: 1;
}

/* Indicadores oscuros */
.carousel-indicators-dark button {
  background-color: #16418b !important;
}

/* ================= EXPORTACIONES SECTION ================= */
.exportaciones-section {
  background-color: #16418b;
  background-image: linear-gradient(135deg, #16418b 60%, #0f2d63 100%);
  padding: 100px 0;
}

.exportaciones-section h2 {
  color: #ffffff;
}

.exportaciones-section .section-tag {
  color: #dc2313;
}

/* ================= FORMULARIO CONTACTO ================= */
.form-control {
  border-radius: 0;
  border: 1px solid #ccc;
  padding: 10px 14px;
}

.form-control:focus {
  border-color: #16418b;
  box-shadow: 0 0 0 3px rgba(22, 65, 139, 0.15);
}

/* ================= FOOTER ================= */
.footer-main {
  background-color: #16418b;
  color: #fff;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #dc2313;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
}

/* ================= TEXTO GENERAL ================= */
.lead {
  max-width: 700px;
  margin: auto;
  color: #555;
}

/* ================= PAGINAS INTERIORES - HERO ================= */
.page-hero {
  background-color: #16418b;
  background-image: linear-gradient(135deg, #16418b 60%, #0f2d63 100%);
  padding: 60px 0 50px;
  border-bottom: 4px solid #dc2313;
}

.page-hero .section-tag {
  color: #dc2313;
  margin-bottom: 8px;
}

.page-hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 8px;
}

.page-hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin: 0;
}

/* ================= EMPRESA CARDS ================= */
.empresa-card .empresa-icon {
  font-size: 2.4rem;
  color: #dc2313;
  margin-bottom: 16px;
}

.empresa-card h4 {
  color: #16418b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.empresa-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

/* ================= NAV ACTIVE ================= */
.nav-link.active {
  color: #dc2313 !important;
  font-weight: 700;
}

/* ================= PRODUCTO CARDS ================= */
.producto-card {
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.producto-card:hover {
  border-color: #dc2313;
  box-shadow: 0 6px 24px rgba(220, 35, 19, 0.12);
}

.producto-img-wrap {
  position: relative;
  overflow: hidden;
}

.producto-img {
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
}

.producto-card:hover .producto-img {
  transform: scale(1.05);
}

.producto-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(22, 65, 139, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.producto-overlay i {
  font-size: 3rem;
  color: #ffffff;
}

.producto-card:hover .producto-overlay {
  opacity: 1;
}

.producto-titulo {
  color: #16418b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.producto-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 16px;
}

.producto-link {
  color: #dc2313;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.producto-link:hover {
  color: #b71c10;
}

.producto-link i {
  transition: transform 0.2s;
}

.producto-link:hover i {
  transform: translateX(4px);
}

/* ================= EXPORTACIONES ================= */
.export-foto-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.export-foto {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-left: 5px solid #dc2313;
  display: block;
}

.export-foto-badge {
  position: absolute;
  bottom: 24px;
  left: -5px;
  background-color: #16418b;
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.export-foto-badge i {
  font-size: 1.1rem;
  color: #dc2313;
}

.export-texto {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* DESTINOS */
.destino-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #16418b;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  transition: border-color 0.2s, color 0.2s;
}

.destino-box:hover {
  border-left-color: #dc2313;
  color: #dc2313;
}

.destino-box i {
  color: #dc2313;
  margin-right: 4px;
}

/* VIDEO SLIDE (2 por vista) */
.video-slide-row {
  padding: 0 50px; /* espacio para las flechas */
}

/* BOTON YOUTUBE */
.btn-youtube {
  display: inline-flex;
  align-items: center;
  background-color: #ff0000;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 28px;
  text-decoration: none;
  border-radius: 0;
  letter-spacing: 0.5px;
  transition: background-color 0.25s;
}

.btn-youtube:hover {
  background-color: #cc0000;
  color: #fff;
}

.btn-youtube i {
  font-size: 1.2rem;
}

/* ================= CONTACTO ================= */
.contacto-lista {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacto-lista li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contacto-icono {
  width: 42px;
  height: 42px;
  background-color: #16418b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contacto-lista strong {
  display: block;
  color: #16418b;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contacto-lista p {
  margin: 0;
  font-size: 0.93rem;
  color: #444;
  line-height: 1.7;
}

.contacto-lista a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.contacto-lista a:hover {
  color: #dc2313;
}

/* MAPA */
.mapa-wrap {
  border: 3px solid #16418b;
  overflow: hidden;
  height: 380px;
}

.mapa-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.mapa-pie {
  background: #f5f6f7;
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #555;
}

.mapa-link {
  color: #16418b;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
}

.mapa-link:hover {
  color: #dc2313;
}

/* REDES SOCIALES */
.btn-red-social {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 0;
  transition: opacity 0.2s;
  letter-spacing: 0.3px;
}

.btn-red-social:hover {
  opacity: 0.85;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.btn-facebook {
  background-color: #1877f2;
  color: #fff;
}

/* FOOTER REDES */
.footer-red-social {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-red-social:hover {
  color: #fff;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .carousel-img {
    height: 260px;
  }

  .carousel-caption {
    left: 5%;
    right: 5%;
    max-width: 100%;
    bottom: 30px;
    padding: 12px 16px;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .video-carousel {
    padding-bottom: 40px;
  }

  .exportaciones-section {
    padding: 60px 0;
  }
}
