/* GLOBAL */
html, body { 
    height: 100%; 
    margin: 0; 
    display: flex; 
    flex-direction: column; }

/* Let main content grow to fill space */
body > *:not(footer) {
     flex: 1; 
    }

/* SLIDE-IN ANIMATION */
.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR */
.navbar {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 80px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.book-btn {
  background: rgb(99, 99, 99);
  color: #003366;
  padding: 6px 12px;
  border-radius: 4px;
}

/* HERO HEADER WITH IMAGE */
.hero-header {
  background: url("images/truckImage.png");
  background-size: cover;
  background-position: center;
  height: 420px;
  position: relative;
  margin-bottom: 10px;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 160px;
  bottom: 40px;
  left: 40px;
}

.hero-overlay button {
  margin-top: 20px;
  padding: 12px 20px;
  font-size: 16px;
  background: white;
  color: #003366;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hero-overlay button:hover {
  background: #e0e0e0;
}

/* FEATURES */
.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
}

.logo img {
  height: 100px;   /* adjust size as needed */
  width: auto;
  display: block;
  margin-left: 100px;
  margin-top: 15px;
  margin-bottom: 15px;
}
