/* Custom styles for GNS Logistics */
:root {
  --primary-blue: #27367b;
  --primary-blue-dark: #27367b;
  --neutral-gray: #6b7280;
  --light-gray: #f9fafb;
}

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

/* Hero section background */
.hero-bg {
  background: linear-gradient(rgba(27, 54, 123, 0.8), rgba(27, 54, 123, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

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

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service card animations */
.service-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(27, 54, 123, 0.25);
}

/* Fleet card animations */
.fleet-card {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.fleet-card:hover {
  transform: scale(1.05);
}

.fleet-card img {
  transition: transform 0.3s ease;
}

.fleet-card:hover img {
  transform: scale(1.1);
}

/* Navigation active state */
.nav-active {
  color: var(--primary-blue) !important;
  border-bottom: 2px solid var(--primary-blue);
}

/* Form animations */
.form-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(27, 54, 123, 0.1);
}

/* Button animations */
.btn-primary {
  background-color: var(--primary-blue);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27, 54, 123, 0.3);
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Timeline styles */
.timeline-item {
  position: relative;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.5rem;
  width: 2px;
  height: calc(100% - 1rem);
  background-color: #e5e7eb;
}

.timeline-item:last-child::after {
  display: none;
}
