/* ===== GENERAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fff;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #e07b25;
  color: #fff;
  font-size: 14px;
  padding: 6px 15px;
  text-align: center;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  padding: 10px 15px;
}

.logo img {
  height: 45px;
}

.info-box {
  font-size: 14px;
}

.btn-book {
  background: #e07b25;
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  text-decoration: none;
  display: inline-block;
}

/* ===== NAV ===== */
.navbar {
  background: #0c1a5b;
  padding: 1px 8px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  padding: 12px 15px;
}

.navbar-nav .nav-link:hover {
  color: #e07b25 !important;
}

/* ===== HERO SLIDER ===== */
.carousel-item {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-item:nth-of-type(2) {
  background-image: url('img/carousel-2.jpg');
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.3;
}

.price {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
}



/* ===== ABOUT SECTION ===== */
.about-section {
  background: #fff;
  padding: 60px 0;
}

.about-tag {
  color: #e07b25;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-title {
  font-size: 36px;
  color: #0c1a5b;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

.feature-item i {
  color: #e07b25;
  margin-right: 10px;
  font-size: 18px;
}

.about-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  display: flex;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
}

/* LEFT SECTION */
.hero-left {
  flex: 1;
  background: #d07a2d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -90px;
  width: 180px;
  height: 100%;
  background: #fff;
  transform: skewX(-20deg);
}

.hero-left img {
  width: 90%;
  max-width: 450px;
  position: relative;
  z-index: 2;
}

/* RIGHT SECTION */
.hero-right {
  flex: 1.2;
  background: #f8f9fa; /* Placeholder since road.jpg not available */
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px;
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 30px;
}

/* BUTTON */
.book-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #d07a2d;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.book-btn:hover {
  background: #d07a2d;
  color:#0056b3;
}

/* ===== HOT OFFERS SECTION ===== */
.hot-offers {
  background: #f8f9fa;
  padding: 60px 0;
}

.hot-title {
  font-size: 36px;
  color: #0c1a5b;
  text-align: center;
  margin-bottom: 50px;
}

.offer-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.car-img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.car-title {
  font-size: 20px;
  color: #0c1a5b;
  margin-bottom: 10px;
}

.price {
  font-size: 24px;
  font-weight: bold;
  color: #e07b25;
  margin-bottom: 15px;
}

.price span {
  font-size: 16px;
  color: #666;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.offer-list li {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.btn-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.rent-btn, .call-btn {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.rent-btn {
  background: #0c1a5b;;
  color: #fff;
}

.rent-btn:hover {
  background: #128c7e;
}

.call-btn {
  background: #e07b25;
  color: #fff;
}

.call-btn:hover {
  background: #0056b3;
}


/* ===== FOOTER ===== */
.footer {
  background: url("img/footer-bg.jpg") center/cover no-repeat;
  color: #ccc;
  position: relative;
  

}

.footer-overlay {
  background: rgba(0, 0, 0, 0.9);
  padding: 60px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #f7931e;
  display: block;
  margin-top: 8px;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #f7931e;
}

/* BOTTOM BAR */
.footer-bottom {
  background: #0b1460;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.footer-bottom .copyright {
  margin-top: 13px;
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
}

/* SCROLL TOP */
.scroll-top {
  position: absolute;
  right: 20px;
  bottom: 80px;
  background: #f7931e;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ===== BOOKING CARD ===== */
.booking-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 90%;
  width: 80%;
  min-height: 0;
  position: relative;
  margin: 5px auto 5px;
  z-index: 10;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e07b25, #d07a2d, #0c1a5b);
}

.booking-card h4 {
  color: #0c1a5b;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  font-size: 18px;
}

.booking-card .form-label {
  color: #333;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 12px;
}

.booking-card .form-control, .booking-card .form-select {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 6px 10px;
  font-size: 12px;
  transition: 0.3s;
  margin-bottom: 6px;
  height: 36px;
}

.booking-card .form-control::placeholder {
  color: #999;
  opacity: 1;
}

.booking-card .mb-2 {
  margin-bottom: 6px !important;
}

.booking-card .row.g-2 {
  gap: 0.3rem !important;
}

.booking-card .form-control:focus, .booking-card .form-select:focus {
  border-color: #e07b25;
  box-shadow: 0 0 0 0.2rem rgba(224, 123, 37, 0.25);
}

.booking-card .btn-primary {
  background: linear-gradient(45deg, #e07b25, #d07a2d);
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
  font-size: 12px;
  margin-top: 3px;
  width: 100%;
}

.booking-card .btn-primary:hover {
  background: linear-gradient(45deg, #d07a2d, #e07b25);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 123, 37, 0.4);
}

.booking-card textarea {
  margin-bottom: 6px !important;
  padding: 6px 10px;
  font-size: 12px;
  min-height: 60px !important;
  resize: vertical;
}

.booking-card .input-group .btn {
  padding: 6px 8px;
  font-size: 11px;
  height: 36px;
}

.booking-card .text-center {
  text-align: center;
  margin-top: 2px;
}

.booking-card #map {
  margin-top: 15px !important;
  height: 250px !important;
}

.booking-card .suggestions-dropdown {
  max-height: 200px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Ensure carousel item is visible and properly sized */
  .carousel-item {
    height: 70vh;
    min-height: 500px; /* Ensure minimum height for content visibility */
  }

  /* Make hero content fully visible */
  .hero-content {
    position: relative;
    z-index: 10; /* Higher z-index to ensure visibility over overlay */
    padding: 20px;
  }

  /* Adjust title font size and ensure visibility */
  .hero-content h1 {
    font-size: 28px;
    color: #fff; /* Ensure white color for contrast */
    margin-bottom: 20px;
  }

  /* Ensure BOOK NOW button is visible and clickable */
  .btn-book {
    background: #e07b25;
    color: #fff;
    border-radius: 30px;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Add shadow for visibility */
  }

  /* Stack columns vertically for mobile layout */
  .row.align-items-center {
    flex-direction: column;
    text-align: center;
  }

  /* Make left column (title and button) full width and centered */
  .col-lg-7 {
    width: 100%;
    order: 1; /* Ensure title comes first */
    margin-bottom: 30px;
  }

  /* Make right column (form) full width */
  .col-lg-5 {
    width: 100%;
    order: 2;
  }

  /* Adjust booking card for mobile */
  .booking-card {
    padding: 10px;
    margin: 20px auto 20px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    
  }

  /* Ensure form title is visible */
  .booking-card h4 {
    font-size: 20px;
    color: #0c1a5b;
    margin-bottom: 20px;
  }

  /* Adjust form inputs for mobile */
  .form-control, .form-select {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 10px;
    margin-bottom: 10px;
  }

  /* Adjust input groups */
  .input-group {
    margin-bottom: 15px;
  }

  .input-group-text {
    background: #f8f9fa;
    border: 1px solid #ced4da;
  }

  /* Adjust date/time row layout */
  .row.g-2 {
    margin-bottom: 15px;
  }

  .row.g-2 .col-7, .row.g-2 .col-5, .row.g-2 .col-sm-8, .row.g-2 .col-sm-4 {
    padding: 0 5px;
  }

  /* Center the submit button */
  .d-grid button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #e07b25;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
  }

  /* Adjust small text */
  .text-muted.small {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .price {
    font-size: 26px;
  }

  .top-bar {
    font-size: 12px;
    padding: 4px 10px;
  }

  .header {
    padding: 5px 10px;
  }

  /* Header: travel logo left, call now button right (mobile - like screenshot) */
  .header .row.align-items-center {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .header .row .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }
  .header .row .text-end {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .logo img {
    height: 35px;
  }

  .info-box {
    font-size: 12px;
  }

  .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 14px;
  }

  .about-title {
    font-size: 26px;
  }

  .about-section {
    text-align: center;
  }

  .feature-item {
    justify-content: center;
  }

  .hot-title {
    font-size: 28px;
  }

  .offer-card {
    margin-bottom: 20px;
  }

  .hero-banner {
    flex-direction: column;
  }

  .hero-left::after {
    display: none;
  }

  .hero-right {
    padding: 40px 20px;
    text-align: center;
    justify-content: center;
  }

  .book-btn {
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .footer-col h4::after {
    margin: 8px auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .social-icons a {
    margin: 0 10px;
  }

}



/* ================================
   BOOKING FORM – DESKTOP
================================ */

.booking-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.booking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e07b25, #d07a2d, #0c1a5b);
}

.booking-card h4 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #0c1a5b;
  margin-bottom: 18px;
}

.booking-card .form-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.booking-card .form-control,
.booking-card .form-select {
  border-radius: 8px;
  padding: 10px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
}

.booking-card .form-control:focus,
.booking-card .form-select:focus {
  border-color: #e07b25;
  box-shadow: 0 0 0 0.2rem rgba(224, 123, 37, 0.25);
}

.booking-card .btn-primary {
  width: 50%;
  padding: 10px;
  border-radius: 25px;
  background: linear-gradient(45deg, #e07b25, #d07a2d);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align:center;
}

.booking-card .btn-primary:hover {
  background: linear-gradient(45deg, #d07a2d, #e07b25);
  box-shadow: 0 4px 15px rgba(224, 123, 37, 0.4);
   text-align:center;
}

/* ================================
   BOOKING FORM – MOBILE
================================ */

@media (max-width: 768px) {

  .booking-card {
    max-width: 100%;
    padding: 12px;
    margin: 12px auto;
    border-radius: 12px;
    margin-top: 24px;
    z-index: 20;
    width: calc(100% - 24px);
  }

  .booking-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .booking-card .form-control,
  .booking-card .form-select {
    font-size: 15px; /* prevents iOS zoom */
    padding: 8px;
  }

  .booking-card .btn-primary {
    font-size: 15px;
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 22px;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .col-lg-5 {
    margin-top: 8px;
  }

}



/*call button styles*/
.call-btn{
  display: inline-block;
  background: #e07b25;          /* green call color */
  color: #fff;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect (desktop) */
.call-btn:hover{
  background: #1e7e34;
  transform: translateY(-2px);
  color: #fff;
}

/* Mobile friendly */
@media (max-width: 768px){
  .call-btn{
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }
}


.call-btn{
  animation: pulse 1.6s infinite;
}

@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(40,167,69,0.6); }
  70%{ box-shadow: 0 0 0 12px rgba(40,167,69,0); }
  100%{ box-shadow: 0 0 0 0 rgba(40,167,69,0); }
}

@media (max-width: 768px) {
    .header .row.align-items-center {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}