/* 
   Alqabdhah Althahabia Construction - Coming Soon Page
   Animation Styles
*/

/* Base Animation Styles */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Hover Effects for Contact Items */
.contact-item i {
  transition: transform 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.2);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 165, 74, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(197, 165, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 165, 74, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

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

.float {
  animation: float 4s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-bg {
  background: linear-gradient(-45deg, #00796b, #00897b, #c5a54a, #d4af37);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: white;
}

/* Typing Animation */
.typing {
  overflow: hidden;
  border-right: .15em solid var(--secondary-color);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--secondary-color); }
}

/* Fade In Animation for Page Load */
.fade-in {
  animation: fadeIn 1s ease-in both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Sequential Fade In */
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.3s; }
.fade-in-3 { animation-delay: 0.5s; }
.fade-in-4 { animation-delay: 0.7s; }
.fade-in-5 { animation-delay: 0.9s; }

