/* Custom Utility Classes */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, hsl(19 62% 49%) 0%, hsl(32 100% 50%) 100%);
}

.bg-hero-gradient {
  background: linear-gradient(135deg, hsl(215 50% 18%) 0%, hsl(215 40% 28%) 100%) !important;
}

.bg-accent-gradient {
  background: linear-gradient(135deg, hsl(19 62% 49%) 0%, hsl(32 100% 50%) 100%) !important;
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-elevated {
  box-shadow: var(--shadow-elevated);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Direct color utilities (backup for Tailwind) */
.bg-primary {
  background-color: hsl(215 50% 18%);
}

.bg-accent {
  background-color: hsl(19 62% 49%);
}

.text-primary-foreground {
  color: hsl(0 0% 100%);
}

.text-accent-foreground {
  color: hsl(0 0% 100%);
}

.text-foreground {
  color: hsl(215 35% 15%);
}

.text-muted-foreground {
  color: hsl(215 15% 45%);
}

.text-accent {
  color: hsl(19 62% 49%);
}

.bg-card {
  background-color: hsl(0 0% 100%);
}

.bg-background {
  background-color: hsl(210 20% 98%);
}

.bg-muted {
  background-color: hsl(210 15% 95%);
}

.border-border {
  border-color: hsl(210 20% 88%);
}

.border-accent {
  border-color: hsl(19 62% 49%);
}

/* CSS Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInFromLeft 0.5s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInFromRight 0.5s ease-out forwards;
}

.animate-bounce {
  animation: bounce 1.5s ease-in-out infinite;
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

/* Stagger Animation Delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* Initial state for animated elements */
.animate-on-scroll {
  opacity: 0;
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  background: white;
  color: hsl(var(--foreground));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  max-width: 400px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-left: 4px solid #10b981;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

/* Hide mobile menu on desktop - MUST BE FIRST */
@media (min-width: 768px) {
  #mobile-menu {
    display: none !important;
  }
}

/* Mobile Menu - Only on mobile */
@media (max-width: 767px) {
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: hsl(210 20% 98%);
  }

  #mobile-menu.open {
    max-height: 500px;
    border-bottom: 1px solid hsl(210 20% 88%);
  }

  #mobile-menu-content {
    padding: 0 1rem;
  }

  #mobile-menu.open #mobile-menu-content {
    padding: 1rem;
  }
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .toast {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
