/* Modern Professional Styles with Tailwind CSS Compatibility */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Custom font loading optimization */
body {
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enhanced gradient text effects */
.gradient-text {
  background: linear-gradient(135deg, #ff6a00 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism effect for cards */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom hover animations */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Professional button styles */
.btn-gradient {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8534 50%, #000000 100%);
  background-size: 200% 200%;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 106, 0, 0.4);
}

/* Enhanced card animations */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
  transform: translateY(-12px) scale(1.02);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6a00, #000000);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e55a00, #1f2937);
}

/* Loading animation */
.loading-dot {
  animation: loading 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading {
  0%, 80%, 100% {
    transform: scale(0);
  } 40% {
    transform: scale(1);
  }
}

/* Floating animation */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Pulse animation for call-to-action elements */
.pulse-glow {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 106, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
  }
}

/* Enhanced focus states for accessibility */
.focus-enhanced:focus {
  outline: 2px solid #ff6a00;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.2);
}

/* Professional text shadows */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Modern border gradients */
.border-gradient {
  position: relative;
  background: white;
}

.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #ff6a00, #000000);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

/* Custom selection colors */
::selection {
  background-color: rgba(255, 106, 0, 0.2);
  color: #1f2937;
}

::-moz-selection {
  background-color: rgba(255, 106, 0, 0.2);
  color: #1f2937;
}

/* Responsive typography improvements */
@media (min-width: 768px) {
  .text-responsive {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }
  
  .heading-responsive {
    font-size: clamp(2rem, 5vw, 4rem);
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-gradient {
    background: #000;
    color: #fff;
    border: 2px solid #000;
  }
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .auto-dark {
    background-color: #1f2937;
    color: #f9fafb;
  }
}

/* Custom utilities for enhanced professional look */
.backdrop-blur-strong {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.shadow-inner-glow {
  box-shadow: inset 0 2px 4px rgba(255, 106, 0, 0.1);
}

.border-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Professional form styles */
.form-elegant input,
.form-elegant textarea {
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
}

.form-elegant input:focus,
.form-elegant textarea:focus {
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
  outline: none;
}

/* Modern loader spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ff6a00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced mobile navigation */
.mobile-nav-slide {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav-slide.open {
  transform: translateX(0);
}

/* Professional testimonial styling */
.testimonial-card {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #ff6a00;
  font-family: serif;
  line-height: 1;
}

/* Modern pricing table enhancements */
.pricing-highlight {
  position: relative;
  background: linear-gradient(135deg, #ff6a00 0%, #d63447 100%);
  color: white;
}

.pricing-highlight::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #d63447;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Interactive hover effects for service cards */
.service-card-pro {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card-pro:hover::before {
  left: 100%;
}

/* Enhanced typography scale */
.text-mega {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
}

/* Professional gradient overlays */
.overlay-gradient {
  position: relative;
}

.overlay-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.8) 0%, rgba(214, 52, 71, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-gradient:hover::after {
  opacity: 1;
}

/* Modern badge styling */
.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #ff6a00 0%, #d63447 100%);
  color: white;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

/* Elegant dividers */
.divider-elegant {
  height: 1px;
  background: linear-gradient(to right, transparent, #ff6a00, transparent);
  margin: 3rem 0;
}

/* Custom bullet points */
.list-custom li {
  position: relative;
  padding-left: 2rem;
}

.list-custom li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6a00;
  font-weight: bold;
  font-size: 1.2em;
}

/* Professional image overlays */
.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.image-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 106, 0, 0.9), rgba(214, 52, 71, 0.9));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.image-overlay:hover::before {
  opacity: 1;
}

.image-overlay .overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease;
}

.image-overlay:hover .overlay-content {
  opacity: 1;
}
