@tailwind base;
@tailwind components;
@tailwind utilities;

/* Metecan Nakliyat - Custom Styles */

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
  background: linear-gradient(to right, #2563eb, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-hover {
  transform: scale(1);
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #1e40af);
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #2563eb;
  color: white;
  transform: scale(1.05);
}

/* Animasyonlar */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

/* Custom styling */
body {
  font-family: 'Inter', sans-serif;
}

/* Google Places Autocomplete Styling */
.pac-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  z-index: 9999;
  margin-top: 4px;
}

.pac-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
}

.pac-item:last-child {
  border-bottom: none;
}

.pac-item:hover {
  background-color: #f8fafc;
}

.pac-item-selected {
  background-color: #eff6ff !important;
}

.pac-item-query {
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.pac-matched {
  font-weight: 600;
  color: #1f2937;
}

.pac-item-secondary {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

.pac-icon {
  background-image: none !important;
  background: #e5e7eb;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pac-icon::after {
  content: '📍';
  color: #6b7280;
  font-size: 12px;
  position: relative;
  top: -1px;
  left: 0;
  line-height: 1;
}