/* Opći stilovi */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f4f4f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header s gradient pozadinom */
header {
  background: url('taxi-background.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

header .overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  animation: fadeIn 2s ease-in-out;
}

header h1 {
  font-size: 3rem;
  margin: 0;
  animation: slideDown 1s ease-in-out;
}

header p {
  font-size: 1.5rem;
  margin: 10px 0 20px;
  animation: slideUp 1s ease-in-out;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  animation: fadeIn 2s ease-in-out;
}

.btn {
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.viber {
  background: #7360F2;
}

.whatsapp {
  background: #25D366;
}

.btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Sekcije */
section {
  padding: 50px 20px;
  text-align: center;
}

.about, .services {
  background: #fff;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease-in-out;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-image {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 5px solid #1e3c72;
  animation: zoomIn 1s ease-in-out;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background: #1e3c72;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #1e3c72;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Animacije */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}