/* Header/Footer reused from home page */
header {
  background: linear-gradient(90deg, #000, #1a1a1a);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #ffffff, #00c6ff);
  background-clip: text;              /* standard property */
  -webkit-background-clip: text;      /* vendor prefix for WebKit browsers */
  -webkit-text-fill-color: transparent;
}
header nav a {
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ddd;
  text-decoration: none;
}
header nav a:hover {
  color: #fff;
}
footer {
  background: linear-gradient(90deg, #000, #1a1a1a);
  color: #ccc;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

/* Page background */
body {
  background: url('./images/backgroundimage4.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
}

/* Featured route section (background image visible) */
.cta {
  position: relative;
  background-image: url('./images/bgimage.jpg');
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  padding: 3rem;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  z-index: 1;
}
.cta * {
  position: relative;
  z-index: 2;
}
.cta h3, .cta p {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* Popular Destinations section with background */
.routes {
  position: relative;
  background: url('./images/backgroundimage4.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 12px;
  padding: 2rem;
  color: #fff;
  margin-top: 2rem;
}
.routes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); /* dark overlay for readability */
  border-radius: 12px;
  z-index: 1;
}
.routes * {
  position: relative;
  z-index: 2;
}
.routes h2 {
  font-weight: 700;
  color: #00c6ff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  margin-bottom: 1.5rem;
}

/* Route list items */
.list-group-item {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  opacity: 0; /* hidden initially for fade-in */
  transform: translateY(20px);
}
.list-group-item:hover {
  color: #ffea00;
  cursor: pointer;
  text-decoration: underline;
}
.list-group-item::before {
  content: "🚖 "; /* cab icon */
  color: #ffea00;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.list-group-item.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
}

/* Book button unified style */
.book-btn {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: white;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.book-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Featured routes cards */
.featured-routes {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.featured-card {
  flex: 0 0 280px;
  background: rgba(0,0,0,0.55);
  border-radius: 12px;
  padding: 1.2rem;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}
.featured-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #00c6ff;
}
.featured-card p {
  margin: 0.3rem 0;
  font-weight: 500;
}
.featured-card .book-btn {
  margin-top: 0.6rem;
}

/* Popular destinations list items */
.list-group-item {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}
.list-group-item:hover {
  color: #ffea00;
  cursor: pointer;
  text-decoration: underline;
}
.list-group-item::before {
  content: "🚖 ";
  color: #ffea00;
}

/* Floating buttons */
.floating-actions {
  position: fixed;
  right: 20px;
  top: 65%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.float-btn {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: 0.3s;
}
.float-btn .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.float-btn .label {
  margin-left: 10px;
  font-weight: 600;
  color: #333;
}
.float-btn.call .icon {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
}
.float-btn.whatsapp .icon {
  background: linear-gradient(45deg, #25d366, #128c7e);
}
.float-btn:hover {
  transform: translateX(-5px);
}

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
  /* Featured cards stack vertically */
  .featured-routes {
    flex-direction: column;
    align-items: center;
  }
  .featured-card {
    width: 95%;
  }

  /* Route list columns stack */
  .routes .row {
    flex-direction: column;
  }
  .routes .col-md-4 {
    width: 100%;
  }

  /* Floating buttons move to bottom */
  .floating-actions {
    right: 0;
    left: 0;
    bottom: 15px;
    top: auto;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .float-btn .label {
    display: none; /* hide text labels, keep icons */
  }
  .float-btn .icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
header h6 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #ffffff, #ca1010);

  /* Add both standard and prefixed versions */
  background-clip: text;              /* standard property */
  -webkit-background-clip: text;      /* vendor prefix for WebKit browsers */

  -webkit-text-fill-color: transparent;
}
