/* Custom CSS for Werecieve */
:root {
  --red-primary: #dc2626;
  --red-secondary: #b91c1c;
  --red-light: #fef2f2;
  --gray-dark: #1f2937;
  --gray-medium: #6b7280;
  --gray-light: #f9fafb;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

/* Custom animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-slide-up {
  animation: slideInUp 0.6s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out;
}

/* Custom button styles */
.btn-primary {
  background-color: var(--red-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--red-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--red-primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--red-primary);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--red-primary);
  color: white;
  transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Form focus styles */
input:focus, 
select:focus, 
textarea:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--red-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red-secondary);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Custom shadow utilities */
.shadow-red {
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
}

.shadow-red-lg {
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

/* Responsive text sizes */
@media (max-width: 768px) {
  .text-responsive-xl {
    font-size: 2rem;
  }
  
  .text-responsive-lg {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  .text-responsive-xl {
    font-size: 3rem;
  }
  
  .text-responsive-lg {
    font-size: 2rem;
  }
}

/* Success/Error states */
.success-message {
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
}

/* Calculator result highlight */
.calculator-result {
  background: linear-gradient(135deg, var(--red-light), #ffffff);
  border: 2px solid var(--red-primary);
  border-radius: 12px;
  padding: 24px;
}

/* Navigation active state */
.nav-active {
  color: var(--red-primary) !important;
  font-weight: 600;
}

/* Mobile menu animation */
.mobile-menu-enter {
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.mobile-menu-exit {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
