
/* =====================================
   AXION TECHNOLOGIES
   PROFESSIONAL ANIMATION SYSTEM
===================================== */

/* Smooth reveal animation */
@keyframes axionFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in */
@keyframes axionFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Floating effect */
@keyframes axionFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Coral glow */
@keyframes axionGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 99, 61, 0.10);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 99, 61, 0.35);
  }
}

/* Hero */
.hero-content {
  animation: axionFadeUp 1s ease-out both;
}

.hero-label {
  animation: axionFadeIn 1s ease-out 0.2s both;
}

.hero h1 {
  animation: axionFadeUp 1s ease-out 0.4s both;
}

.hero-content p {
  animation: axionFadeUp 1s ease-out 0.6s both;
}

.hero-buttons {
  animation: axionFadeUp 1s ease-out 0.8s both;
}

/* Buttons */
.hero-buttons a,
.contact-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons a:hover,
.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 99, 61, 0.30);
}

/* Service cards */
.service {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 99, 61, 0.15);
}

/* Navigation */
nav a {
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--coral-orange);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================
   AXION SERVICE CARD ANIMATIONS
===================================== */

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

.service {
  animation: axionCardReveal 0.8s ease-out both;
}

.service:nth-child(1) {
  animation-delay: 0.15s;
}

.service:nth-child(2) {
  animation-delay: 0.3s;
}

.service:nth-child(3) {
  animation-delay: 0.45s;
}

.service:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 99, 61, 0.2);
}

/* =====================================
   AXION SCROLL REVEAL EFFECT
===================================== */

.axion-reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.axion-reveal.axion-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .axion-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
