/* ==========================================================================
   LOGÍSTICA Y TRANSPORTES DE MÉXICO (LTM) - ESTILOS CORPORATIVOS AVANZADOS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --primary-navy: #0A192F;
  --primary-blue: #0284C7;
  --accent-orange: #F97316;
  --accent-orange-hover: #EA580C;
  --corporate-slate: #334155;
  --bg-light: #F8FAFC;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1E293B;
  background-color: #071120;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F97316;
}

/* Glassmorphism & Background Effects */
.glass-nav {
  background: rgba(10, 25, 47, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero Section with Cinematic CEDIS Background */
.hero-bg {
  position: relative;
  background-color: #071120;
  background-image: 
    linear-gradient(180deg, rgba(7, 17, 32, 0.82) 0%, rgba(10, 25, 47, 0.90) 60%, rgba(15, 23, 42, 1) 100%),
    url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Custom Pulse Animation for Live Telemetry */
@keyframes ping-slow {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.2;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.animate-ping-slow {
  animation: ping-slow 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Tab indicator transition */
.nav-link {
  position: relative;
  transition: all 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #F97316;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link.active-tab {
  color: #F97316 !important;
}

.nav-link.active-tab::after {
  width: 80%;
}

/* Card Hover Elevation */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(249, 115, 22, 0.08);
}

/* Progress Stepper Timeline */
.step-item.completed .step-circle {
  background-color: #10B981;
  color: white;
  border-color: #10B981;
}
.step-item.active .step-circle {
  background-color: #F97316;
  color: white;
  border-color: #F97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25);
}
.step-item.pending .step-circle {
  background-color: #E2E8F0;
  color: #94A3B8;
  border-color: #CBD5E1;
}

/* Custom Notification Toast */
#toast {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

/* Section Tab View Transitions */
.tab-content-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tab-content-panel.active-panel {
  display: block;
  opacity: 1;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
