/* FILE: /Applications/XAMPP/xamppfiles/htdocs/mecatronik_web/css/estilos.css (versión optimizada) */

/* ====== NAVBAR / HEADER ====== */


.mk-navbar {
  background: linear-gradient(90deg, #050505, #111827);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.mk-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

/* Marca: amarillo por defecto, naranja al hover */
.mk-brand-text {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ffeb3b;
  transition: color 0.18s ease-out;
}

.navbar-brand:hover .mk-brand-text {
  color: #ff7f00;
}

/* Links del nav: amarillo, hover naranja */
.navbar-nav .nav-link {
  color: #ffeb3b !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-inline: 0.75rem;
  transition: color 0.18s ease-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ff7f00 !important;
}

/* subrayado animado */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.1rem;
  height: 2px;
  background: linear-gradient(90deg, #ff7f00, #ff2b4a);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  transform: scaleX(1);
}

/* ícono burger */
.mk-burger-icon {
  width: 28px;
  height: 28px;
}

/* dropdown oscuro */
.mk-dropdown {
  background-color: #050712;
  border: 1px solid rgba(255,255,255,0.08);
}

.mk-dropdown .dropdown-item {
  color: #e5e7eb;
  font-size: 0.85rem;
}

.mk-dropdown .dropdown-item:hover {
  background-color: rgba(255,127,0,0.12);
  color: #F2B13D;
}

.mk-cart-fab {
  position: fixed;
  right: 18px;
  top: 80px;
  z-index: 9999;
  background: #F2B13D;
  color: #000 !important;
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  font-weight: bold;
}

.mk-cart-fab:hover,
.mk-cart-fab:focus,
.mk-cart-fab:active,
.mk-cart-fab:visited {
  color: #000 !important;
  text-decoration: none !important;
}


.mk-cart-fab i {
  font-size: 1.2rem;
}

.mk-cart-badge {
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: .8rem;
}

.mk-cart-fab.d-none {
  display: none !important;
}


/* ====== HERO / CARRUSEL + INTRO ====== */
.mk-hero {
  background: #02030a;
}

.hero-slide-img {
  max-height: 520px;
  object-fit: cover;
}

.hero-slide-img-top {
  object-position: top;
}

.mk-hero-overlay {
  max-width: 720px;
}

.mk-hero-title {
  font-size: clamp(1.3rem, 2vw + 1rem, 2rem);
}

/* Intro GEO */
.mk-intro {
  background: radial-gradient(circle at top left, rgba(255,127,0,0.16), transparent 55%),
              #02030a;
}

.mk-section-title {
  font-size: 1.4rem;
}

.mk-intro-text {
  color: #d1d5db;
  font-size: 0.95rem;
}

.mk-intro-card {
  background: rgba(15,23,42,0.95);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  border: 1px solid rgba(248,250,252,0.08);
  box-shadow: 0 20px 30px rgba(0,0,0,0.45);
}

.mk-intro-card-title {
  font-size: 1.05rem;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.mk-intro-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.75rem;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.mk-intro-list li::before {
  content: "• ";
  color: #ff7f00;
}

/* Subtítulos generales */
.mk-section-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
}

/* Botón principal reutilizable */
.mk-btn-primary {
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ====== SERVICIOS (fondo negro) ====== */
#servicios {
  background: #02030a;
}

#servicios .card {
  border-radius: 14px;
}

/* ====== PRODUCTOS: STOCK + CANTIDAD ====== */
.mk-product-card {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.mk-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.mk-product-stock {
  font-size: 0.8rem;
}

.mk-qty-group {
  border-radius: 999px;
  overflow: hidden;
}

.mk-qty-group .input-group-text {
  font-size: 0.8rem;
}

.mk-qty-input {
  font-size: 0.8rem;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(0,0,0,0.5);
  z-index: 2000;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 40px rgba(0,0,0,0.7);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link::after {
    display: none;
  }

  .hero-slide-img {
    max-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .mk-logo {
    height: 32px;
  }

  .mk-brand-text {
    font-size: 0.8rem;
  }

  .hero-slide-img {
    max-height: 300px;
  }

  .mk-intro-card {
    margin-top: 0.5rem;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    bottom: 14px;
    right: 14px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}
/* ================================================
   BLOQUE OSCURO TIPO APPLE (versión optimizada)
   Se aplica a la sección inmediatamente después del carrusel
   ================================================ */

.section-dark {
  background: linear-gradient(180deg, #101010 0%, #121212 100%);
     
  padding: 60px 0;
  color: #f2f2f2;
  border-top: 1px solid rgba(255, 255, 0, 0.15); /* línea premium amarilla */
}

/* título principal */
.section-dark h2 {
  color: #ffdd33; /* amarillo Apple-like */
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* texto normal */
.section-dark p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e6e6e6;
}

/* tarjetas dentro del bloque oscuro */
.section-dark .card {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.section-dark .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 255, 0, 0.08);
}

/* iconos */
.section-dark .card img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 0, 0.1));
}

/* separación respecto al carrusel */
.section-dark-top-gap {
  margin-top: -20px;
}

/* Responsive */
@media (max-width: 768px) {
  .section-dark {
    padding: 40px 0;
  }
  .section-dark h2 {
    font-size: 1.6rem;
  }
}


    .mk-wrap { padding-top: 12px; padding-bottom: 24px; }
    .mk-title { font-weight:800; }
    .mk-muted { color:#6c757d; }

    .table-cart tbody tr td { vertical-align:middle; }

    .qty-input {
      max-width:80px;
      text-align:center;
    }

    .mk-summary-card {
      position:sticky;
      top:80px;
    }

    .mk-badge { background:#e1b700; color:#000; font-weight:800; }
