/*
Theme Name: Aruna Logistics
Theme URI: https://example.com/
Author: Aruna Logistics
Author URI: https://example.com/
Description: WordPress theme converted from the Next.js logistics-portfolio project. Features Tailwind CSS utility-first styling, responsive design, and multiple page templates for a logistics company website.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: arunalogistics
Tags: logistics, business, portfolio, tailwind, responsive, custom-menu
*/

/* Base reset & font */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Partner logo infinite scroll animation */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll { animation: scroll 30s linear infinite; }
.animate-scroll:hover { animation-play-state: paused; }

/* Text line clamping */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Logistics-specific animations */
@keyframes truck-move {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
  50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.6); }
}

@keyframes tracking-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes road-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.animate-truck { animation: truck-move 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-tracking { animation: tracking-dot 1.5s ease-in-out infinite; }
.animate-road { animation: road-line 3s linear infinite; }

/* Icon styling for consistency */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-container svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg svg {
  width: 2rem;
  height: 2rem;
}

/* Gradient text for headings */
.gradient-text {
  background: linear-gradient(135deg, #f97316 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* Logistics route line animation */
.route-line {
  position: relative;
  overflow: hidden;
}

.route-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  animation: road-line 2s linear infinite;
}
