/* ==========================================================================
   INOXPAZ SpA - Estilos Vanguardistas Industriales
   Paleta: Dark Titanium, Welding Arc Cyan, Brushed Steel & Molten Amber
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --color-bg-base: #060913;
  --color-bg-surface: #0c1222;
  --color-bg-card: rgba(15, 23, 42, 0.75);
  --color-bg-elevated: #152038;

  --color-primary: #00A3FF;
  --color-primary-glow: #00E5FF;
  --color-steel: #94A3B8;
  --color-steel-light: #E2E8F0;
  --color-amber-spark: #F59E0B;
  --color-amber-glow: #FF7700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: #F1F5F9;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-base);
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.font-mono-tech {
  font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060913;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Blueprint Grid Background Pattern */
.bg-blueprint-grid {
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 20%, rgba(0, 163, 255, 0.12) 0%, transparent 60%);
}

.bg-radial-spark {
  background: radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}

/* Glassmorphism Industrial Cards */
.glass-card {
  background: rgba(12, 19, 36, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 163, 255, 0.18), 0 0 20px 0 rgba(0, 229, 255, 0.08);
}

/* Metallic Text Gradient */
.text-metallic {
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 20%, #38BDF8 60%, #0080FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Welding Arc Glow */
.glow-arc {
  box-shadow: 0 0 25px rgba(0, 163, 255, 0.35), 0 0 50px rgba(0, 229, 255, 0.15);
}

.glow-amber {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

/* Glowing Button Primary */
.btn-electric {
  position: relative;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-electric::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-electric:hover {
  background: linear-gradient(135deg, #00A3FF 0%, #0284c7 100%);
  box-shadow: 0 0 35px rgba(0, 163, 255, 0.6), 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-electric:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Steel Button Secondary */
.btn-steel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #E2E8F0;
  transition: all 0.3s ease;
}

.btn-steel:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(56, 189, 248, 0.5);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}

/* Radar Pulse / Live Status Dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Spark Particle Canvas */
#welding-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Modal Animations */
.modal-overlay {
  transition: opacity 0.3s ease;
}
.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Service Filter Active Pill */
.filter-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Project Card Image Zoom & Overlay */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: #090E1B;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.project-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 40px -10px rgba(0, 163, 255, 0.25);
  transform: translateY(-4px);
}

.project-overlay {
  background: linear-gradient(180deg, rgba(6, 9, 19, 0) 30%, rgba(6, 9, 19, 0.95) 100%);
}
