/* =========================
   General Reset
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.5;
}

/* =========================
   HERO CAROUSEL
========================= */
.carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden; /* To ensure no overflow */
}

/* Carousel image styling */
.carousel-item img {
  height: 80vh;
  object-fit: cover;
  transition: transform 0.5s ease-out; /* Smooth transition on hover */
}

.carousel-item:hover img {
  transform: scale(1.1); /* Slight zoom effect */
}

/* Carousel captions overlay - extended and stylish */
.carousel-caption.left-overlay {
  position: absolute;
  top: 25%;
  left: 5%;
  max-width: 500px;
  width: 50%;
  background: rgba(0, 0, 0, 0.75); /* Darker overlay for better contrast */
  padding: 20px 25px;
  border-radius: 15px;
  text-align: left;
  animation: slideInLeft 1s ease forwards, fadeIn 1.5s ease forwards; /* Added fade-in effect */
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Adding shadow for better contrast */
}

/* Title styling */
.carousel-caption.left-overlay h2 {
  color: #ffba08; /* Warm yellow */
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInTitle 1.5s ease forwards; /* Title fade-in and slide-in */
}

/* Text styling */
.carousel-caption.left-overlay p {
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 400;
  opacity: 0;
  animation: fadeInText 2s ease forwards; /* Smooth fade-in for text */
}

/* Keyframe animation for sliding caption */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Keyframe for fade-in title */
@keyframes fadeInTitle {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Keyframe for fading in the text */
@keyframes fadeInText {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Smooth transition for carousel slides */
.carousel-item {
  transition: transform 1.5s ease, opacity 1.5s ease !important;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

/* Medium devices (tablets, up to 992px) */
@media (max-width: 992px) {
  .carousel-caption.left-overlay {
    top: 20%;
    max-width: 450px;
    width: 55%;
    padding: 18px 20px;
  }
  .carousel-caption.left-overlay h2 { font-size: 30px; }
  .carousel-caption.left-overlay p { font-size: 18px; }
}

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) {
  .carousel-caption.left-overlay {
    top: 15%;
    max-width: 400px;
    width: 60%;
    padding: 16px 20px;
  }
  .carousel-caption.left-overlay h2 { font-size: 26px; }
  .carousel-caption.left-overlay p { font-size: 17px; }
}

/* Extra small devices (phones, up to 576px) */
@media (max-width: 576px) {
  .carousel-caption.left-overlay {
    top: 10%;
    max-width: 90%;
    width: 90%;
    padding: 14px 16px;
  }
  .carousel-caption.left-overlay h2 { font-size: 22px; }
  .carousel-caption.left-overlay p { font-size: 16px; }
}


/* =========================
   BOOKING SECTION
========================= */
.booking-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -70px; /* overlap hero */
  padding: 0 20px 28px;
  position: relative;
  z-index: 5;
}

/* Booking Card */
.booking-card {
  width: 100%;
  max-width: 1100px;
  background: linear-gradient(90deg, #f59e0b, #a855f7);
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11, 5, 20, 0.18);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
  color: #fff;
}

/* Each field */
.booking-card .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Destination and submit button sizing */
.booking-card .field:nth-child(1) {
  grid-column: span 2;
}

.booking-card .field-submit {
  grid-column: span 1;
  justify-self: stretch;
}

/* Inputs and Selects */
.booking-card input,
.booking-card select {
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

/* Submit Button */
.btn-search {
  width: 100%;
  padding: 12px 14px;
  background: #1b003b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.btn-search:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

/* Labels */
.booking-card label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* =========================
   WhatsApp Button
========================= */
.whatsapp-contact {
  text-align: center;
  margin-top: 30px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.whatsapp-btn i {
  margin-right: 10px;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
}

/* =========================
   Responsive Layouts
========================= */
@media (max-width: 980px) {
  .booking-card {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .booking-card .field:nth-child(1) {
    grid-column: span 3;
  }

  .booking-card .field-submit {
    grid-column: span 3;
  }
}

@media (max-width: 600px) {
  .booking-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    margin-top: -50px;
  }

  .booking-section {
    margin-top: -50px;
    padding: 0 12px 18px;
  }

  .booking-card .field {
    align-items: stretch;
  }

  .whatsapp-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
