/* ASIF ELECTRIC & COOLING POINT - Premium Styles */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Typography */
.font-display {
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* Premium Shadows */
.shadow-premium {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
              0 10px 15px -3px rgba(0, 0, 0, 0.05),
              0 20px 25px -5px rgba(0, 0, 0, 0.03);
}

.shadow-premium-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05),
              0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

/* Premium Transitions */
.transition-premium {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Selection Styles */
::selection {
  background: rgba(30, 64, 175, 0.15);
  color: #1e3a8a;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(234, 88, 12, 0.3);
}

.btn-secondary {
  background: white;
  color: #374151;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  border-color: #1e40af;
  color: #1e40af;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
}

/* Card Styles */
.card-premium {
  background: white;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.card-premium:hover {
  border-color: #dbeafe;
  box-shadow: 0 10px 40px -10px rgba(30, 64, 175, 0.15);
}

/* Input Styles */
.input-premium {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  color: #1f2937;
  transition: all 0.2s ease;
}

.input-premium:focus {
  outline: none;
  border-color: #1e40af;
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.input-premium::placeholder {
  color: #9ca3af;
}

/* Select Dropdown Arrow */
.select-dropdown {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Form Message Styles */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-message.success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Slide Up Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
}

/* Pulse Animation */
@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* Mobile Menu Animation */
.mobile-menu-enter {
  animation: slideDown 0.3s ease forwards;
}

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

/* Hero Background Pattern */
.hero-pattern {
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(234, 88, 12, 0.03) 0%, transparent 50%);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #1e40af 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Card Accent */
.service-card-accent {
  position: relative;
  overflow: hidden;
}

.service-card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e40af 0%, #14b8a6 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card-accent:hover::before {
  transform: scaleX(1);
}

/* Responsive Utilities */
@media (max-width: 640px) {
  .container-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .container-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1025px) {
  .container-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .card-premium {
    border-width: 2px;
  }
  
  .btn-primary,
  .btn-secondary {
    border: 2px solid currentColor;
  }
}
