/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 40px;
}
.carousel .slides {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slideAnim 15s infinite;
}
.carousel .slide {
  flex: 1 0 100%;
  position: relative;
}
.carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.carousel .overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.carousel .overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-form input, .search-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.search-form button {
  padding: 10px 20px;
  background: #f58220;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Carousel animation */
@keyframes slideAnim {
  0%, 20%   { transform: translateX(0%); }
  25%, 45%  { transform: translateX(-100%); }
  50%, 70%  { transform: translateX(-200%); }
  75%, 100% { transform: translateX(0%); }
}
/* Make carousel cover full screen */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel img {
  width: 100vw;
  height: 100vh;
}

#heroCarousel img {
  object-fit: cover; /* ensures image fills without distortion */
}

/* Remove page margin around carousel */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* Full-screen hero carousel */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel img {
  width: 100vw;
  height: 100vh;    /* full height of screen */
}

#heroCarousel img {
  object-fit: cover; /* keeps aspect ratio while covering */
}

.carousel-caption {
  bottom: 30%;
  transform: translateY(30%);
  background: rgba(0, 0, 0, 0.45);  /* semi-transparent box */
  display: inline-block;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.carousel-caption form {
  margin-top: 10px;
}
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel img {
  width: 100vw;
  height: 75vh; /* 75% of viewport height */
}
.navbar {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  color: #f58220 !important;  /* orange accent on hover */
}
.logo-auth {
  height: 90px;       /* make logo big */
  width: auto;
  display: block;
  margin: 0 auto 10px auto;  /* center + small bottom space */
  object-fit: contain;  /* keeps proportions */
}

.navbar {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.navbar .nav-link {
  color: #333 !important;          /* dark text */
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  color: #f58220 !important;       /* orange hover */
}

.navbar-brand {
  font-weight: 700;
  color: #1a1a1a !important;
}

.navbar .navbar-brand {
  margin-left: 20;       /* reset Bootstrap spacing */
  padding-left: 0;      /* ensure it sticks left */
}

.navbar {
  padding-left: 40px;   /* adjust as needed */
}
/* Overlay to make background darker (more transparent look) */
#heroCarousel .carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* adjust opacity 0.2–0.5 */
  z-index: 1;
}

/* Ensure caption sits above overlay */
.carousel-caption {
  position: absolute;
  z-index: 2;
  bottom: 130%;   /* push text lower down */
  transform: translateY(130%);
}

/* Make caption text readable */
.carousel-caption h1,
.carousel-caption p {
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
#hero {
  margin-bottom: 80px;
}
.aircraft-categories {
  background: rgba(255, 255, 255, 0.85);  /* semi-transparent white box */
  border-radius: 10px;
  margin-bottom: 40px;
}

.aircraft-categories img {
  max-height: 60px;
  object-fit: contain;
}

.aircraft-categories p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-img {
  height: 200px;        /* adjust: 350px or 400px works well */
  object-fit: cover;    /* keep proportions while filling space */
}

.carousel-caption {
  bottom: 20%;          /* move search box up a little */
}

.carousel-caption h1,
.carousel-caption p {
  text-shadow: 0px 2px 6px rgba(0,0,0,0.6); /* make text readable */
}

.hero-img {
  height: 400px;        /* reduce banner height */
  object-fit: cover;    /* keeps proportions */
}

.carousel-caption {
  bottom: 35%;          /* moves caption up */
  transform: translateY(30%);
  text-align: center;
}

.carousel-caption h1,
.carousel-caption p {
  text-shadow: 0px 2px 6px rgba(0,0,0,0.6);
}
.wishlist-btn {
  all: unset;                 /* remove button styling */
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  font-size: 22px;
  color: #dc3545;              /* Bootstrap red for filled */
  z-index: 20;
}

.wishlist-btn .fa-heart {
  transition: transform 0.2s ease, color 0.2s ease;
}

.wishlist-btn:hover .fa-heart {
  transform: scale(1.2);
  color: #ff0000;
}

.wishlist-btn .fa-regular {
  color: #bbb;                 /* grey outline when not selected */
}
.list-group-item {
  cursor: pointer;
  background: #fff;
}
.list-group-item:hover {
  background: #f9f9f9;
  transform: scale(1.01);
}
#chatBox {
  scrollbar-width: thin;
}
#chatBox::-webkit-scrollbar {
  width: 6px;
}
#chatBox::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}
.list-group-item.active {
  background-color: #ffb703 !important;
  border: none;
  color: #000;
}