/* ==========================================================================
   COSTA VOLT MARTÍNEZ - ESTILOS PERSONALIZADOS Y ANIMACIONES
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #0284c7;
  --color-primary-dark: #0369a1;
  --color-secondary: #f59e0b;
  --color-dark: #0b132b;
  --color-darker: #070d1e;
  --color-card: #ffffff;
  --radius-xl: 1.25rem;
}

body {
  font-family: var(--font-main);
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Electric Glow Effects */
.glow-primary {
  box-shadow: 0 0 25px -5px rgba(2, 132, 199, 0.4);
}

.glow-amber {
  box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.45);
}

.text-glow {
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

/* Pulse animation for 24h Emergencies */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.pulse-badge {
  animation: pulse-ring 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Custom Table Styles */
.custom-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hero Background Grid Pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Card hover scaling */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Form Styles */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

/* Printing styles for quotes */
@media print {
  body {
    background: #ffffff;
    color: #000000;
  }
  header, footer, .no-print, #main-header, #floating-cta-bar {
    display: none !important;
  }
  .glass-card {
    border: 1px solid #000000;
    box-shadow: none;
  }
}
