/* Main Stylesheet Bundler */
@import url('variables.css');
@import url('base.css');
@import url('components.css');
@import url('layout.css');

/* ==========================================================================
   ANIMATIONS & SCROLL REVEALS
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Pulse animation for phone CTA */
@keyframes soft-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 37, 42, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(217, 37, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 37, 42, 0);
  }
}

.btn-primary:not(:hover) {
  animation: soft-pulse 3s infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.modal-success-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Floating Action Button for Mobile Quick Call */
.floating-call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--primary-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(217, 37, 42, 0.4);
  z-index: 90;
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .floating-call-btn {
    display: none;
  }
}

.floating-call-btn:hover {
  transform: scale(1.1);
  background: var(--primary-red-hover);
}

.floating-call-btn svg {
  width: 26px;
  height: 26px;
}
