/* styles.css */

@font-face {
  font-family: 'Zing Rust';
  src: url('fonts/ZingRustDemo-Base.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Custom properties for micro-animations and gradients */
:root {
  --summit-navy: #0f172a;
  --summit-blue: #1e293b;
  --summit-accent: #f59e0b;
  --safetyvue-tech: #2563eb;
}

body {
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* Glassmorphism utilities */
.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for multiple elements */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* Micro-animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Gradient text utility */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, var(--safetyvue-tech), #84cc16);
}

/* Pulsing background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
  animation: float 10s ease-in-out infinite;
}

.blob-1 {
  background: rgba(190, 242, 100, 0.2); /* bright lime glow */
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.blob-2 {
  background: rgba(245, 158, 11, 0.2); /* accent amber */
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Navigation Link Underline */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Partner Logo Glow */
.partner-glow {
  box-shadow: 0 0 40px rgba(190, 242, 100, 0.15);
  transition: box-shadow 0.3s ease;
}

.partner-glow:hover {
  box-shadow: 0 0 60px rgba(190, 242, 100, 0.3);
}
