html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    background: #f9f9f9;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navbar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-toggler {
    border: none;
}

.navbar .nav-link.elegant-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar .nav-link.elegant-link:hover {
    color: #f0c987;
    text-decoration: underline;
}

/* Navbar Logo */
.navbar-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Main Content */
main {
    padding: 0px;
}

main h1 {
    margin-bottom: 1rem;
}

main p.lead {
    font-size: 1.25rem;
    color: #555;
}

/* Offcanvas Menu */
.offcanvas-start {
    background-color: #1a1a1a;
    color: #fff;
    width: 50% !important;
    transition: transform 0.4s ease;
}


.offcanvas-header {
    border-bottom: 1px solid #333;
}

.offcanvas-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.offcanvas-body {
    padding-top: 2rem;
}

.offcanvas-body .nav-link {
    font-size: 1.25rem;
    padding: 12px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 1px solid transparent;
}

.offcanvas-body .nav-link:hover {
    color: #f0c987;
    border-bottom: 1px solid #f0c987;
}

.offcanvas .btn-close {
    filter: invert(1);
    transform: scale(1.2);
}

.offcanvas .btn-close:hover {
    filter: invert(1) brightness(1.2);
}

/* Footer */
footer {
    font-family: 'Lora', serif;
    background-color: #222;
    color: #fff;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.elegant-footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.elegant-footer-links a:hover {
    color: #f0c987;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
}

/* Page Content Padding */
.page-content {
  padding-top: 80px; 
  padding-bottom: 80px;
}


@media (max-width: 768px) {
    .offcanvas-start {
        width: 70% !important;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 30px;
    }
}

@media (max-width: 768px) {
    .search-card {
        margin-top: -3rem;
    }
}

@media (max-width: 768px) {
  .carousel-img {
    height: 260px;
  }
}

/* home html*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* search card */
.search-card {
    background: #ffffff;
    margin-top: -2rem;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 25px;
    position: relative;
}

/* hotel carousel */
.carousel-img {
  height: 450px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0,0,0,0.55);
  padding: 15px;
  border-radius: 10px;
}

.carousel-caption h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
}

.carousel-caption p {
  font-size: 1rem;
}

/* ================= DESTINATIONS PAGE ================= */

.destinations-page {
  padding-top: 0;
}

/* ---------- HERO ---------- */
.destination-hero {
  position: relative;
}

.destination-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.destination-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35)
  );
}

.destination-hero-content {
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  color: #fff;
  max-width: 650px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.8);
}

.destination-hero-divider {
  width: 60px;
  height: 2px;
  background: #f0c987;
  margin: 1rem 0;
}

/* ---------- DESTINATION CARDS ---------- */
.destination-card .card {
  border: 1px solid #eee;
  background: #ffffff;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.destination-card img {
  height: 230px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

/* ---------- FEATURE CARD ---------- */
.feature-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eee;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.feature-img-compact {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ------ filter card ---------- */
.filter-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #eee;
  padding: 20px;
  position: relative;
  top: -50px;
  z-index: 15;
}

/* ---------- dropdown --------- */
.filter-card .dropdown-toggle {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-weight: 500;
  background-color: #fff;
  color: #222;
}
/* Hover */
.filter-card .dropdown-toggle:hover {
  border-color: #bfa15a;
}

/* Focus / Active */
.filter-card .dropdown-toggle:focus,
.filter-card .dropdown-toggle:active {
  border-color: #bfa15a;
  background-color: #fff;
  color: #222;
  box-shadow: 0 0 0 3px rgba(191, 161, 90, 0.25);
}

/* ================= DROPDOWN MENU ================= */
.filter-card .dropdown-menu {
  border-radius: 14px;
  border: none;
  padding: 6px 0;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* Dropdown items */
.filter-card .dropdown-item {
  padding: 10px 18px;
  font-size: 0.95rem;
  color: #333;
}

/* Hover */
.filter-card .dropdown-item:hover {
  background-color: rgba(191, 161, 90, 0.18);
  color: #000;
}

/* Active */
.filter-card .dropdown-item.active,
.filter-card .dropdown-item:active {
  background-color: #bfa15a;
  color: #ffffff;
}

/* ================= SCROLLABLE DROPDOWN ================= */
.filter-card .scrollable-dropdown {
  max-height: 340px;
  overflow-y: auto;
  border-radius: 14px;
}

/* ================= PRIMARY BUTTON ================= */
.btn-luxury {
  background-color: #222;
  color: #ffffff;
  border: 1px solid #222;
}

.btn-luxury:hover {
  background-color: rgba(191, 161, 90, 0.08);
  border-color: #bfa15a;
  transform: translateY(-1px);
}

.btn-luxury:focus,
.btn-luxury:active {
  box-shadow: 0 0 0 3px rgba(191, 161, 90, 0.35);
  color: #000;
  border-color: #bfa15a;
}
/* ================= OUTLINE BUTTON ================= */
.btn-outline-luxury {
  background-color: #ffffff;
  color: #222;
  border: 1px solid #222;
}

.btn-outline-luxury:hover {
  border-color: #bfa15a;
  color: #000;
  background-color: rgba(191, 161, 90, 0.08);
}

.btn-outline-luxury:focus,
.btn-outline-luxury:active {
  border-color: #bfa15a;
  color: #000;
  box-shadow: 0 0 0 3px rgba(191, 161, 90, 0.25);
}

/* ================= CUSTOM SCROLLBAR ================= */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;          /* track background */
}

::-webkit-scrollbar-thumb {
    background: #1f1f1f;          /* scrollbar color */
    border-radius: 10px;
    border: 2px solid #f4f4f4;
}

::-webkit-scrollbar-thumb:hover {
    background: #000000;          /* darker on hover */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #1f1f1f #f4f4f4;
}

/* ================= search.html HERO ================= */
.search-hero {
  min-height: 400px; /* adjust as needed */
  position: relative;
  overflow: hidden;
}

.search-hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.5); /* dark overlay effect */
}

.search-hero .z-1 {
  position: relative;
  z-index: 1;
}

.hero-divider {
  width: 80px; 
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* ================= SEARCH CARD ================= */
.search-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eee;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  padding: 25px;
  position: relative;
  z-index: 2;
}

/* ================= LABELS ================= */
.search-card .form-label {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #444;
}

/* ================= INPUTS & DROPDOWNS ================= */
.search-card .form-control,
.search-card .dropdown-toggle {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-weight: 500;
  background-color: #fff;
  color: #222; /* FIX: text always visible */
}

/* Placeholder contrast */
.search-card ::placeholder {
  color: #999;
  opacity: 1;
}

/* ================= FOCUS STATES ================= */
.search-card .form-control:focus,
.search-card .dropdown-toggle:focus {
  border-color: #bfa15a;
  background-color: #fff;
  color: #222;
  box-shadow: 0 0 0 3px rgba(191, 161, 90, 0.25);
}

/* Hover */
.search-card .dropdown-toggle:hover {
  border-color: #bfa15a;
}

/* ================= DROPDOWN MENU ================= */
.search-card .dropdown-menu {
  border-radius: 14px;
  border: none;
  padding: 6px 0;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* Dropdown items */
.search-card .dropdown-item {
  padding: 10px 18px;
  font-size: 0.95rem;
  color: #333;
  background-color: transparent;
}

/* Hover (mouse) */
.search-card .dropdown-item:hover {
  background-color: rgba(191, 161, 90, 0.18);
  color: #000;
}

/* Active / selected (click & keyboard) */
.search-card .dropdown-item:active,
.search-card .dropdown-item.active {
  background-color: #bfa15a;
  color: #ffffff;
}

/* ================= SCROLLABLE DROPDOWN ================= */
.scrollable-dropdown {
  max-height: 240px;
  overflow-y: auto;
  border-radius: 14px;
}

/* ================= GUEST DROPDOWN ================= */
.guest-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Guest panel */
.guest-menu {
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
}

/* Counter row */
.guest-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* + / - buttons */
.counter-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.counter-btn:hover {
  border-color: #bfa15a;
  color: #bfa15a;
}

.counter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Guest info text */
.guest-info {
  margin-top: 10px;
}

.guest-info p {
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: #555;
}

.guest-info span {
  color: #888;
  font-size: 0.82rem;
}


/* ================= SMALL TEXT ================= */
.search-card small {
  font-size: 0.75rem;
  color: #888;
}

.hide-card {
  display: none !important;
}
/* ================= BOOKING SUMMARY ================= */
.booking-summary-card {
  top: 100px;
}

/* Desktop: sticky */
@media (min-width: 992px) {
  .booking-summary-card {
    position: sticky;
  }
}

/* Mobile: normal flow */
@media (max-width: 991px) {
  .booking-summary-card {
    position: static;
    margin-top: 2rem;
  }
}

.booking-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step {
  text-align: center;
  flex: 1;
}

.circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  font-weight: 600;
  color: #999;
}

.step.active .circle {
  background: #222;
  border-color: #bfa15a;
  color: #fff;
}

.step.completed .circle {
  background: #bfa15a;
  border-color: #bfa15a;
  color: #000;
}

.line {
  height: 2px;
  background: #ddd;
  flex: 1;
  margin: 0 10px;
}

#filterSidebar {
  position: sticky;
  top: 100px;           /* distance from top, adjust for navbar */
  max-height: calc(100vh - 120px); /* full viewport minus offset */
  padding-right: 10px;  /* prevent scrollbar overlap */
}

/* Optional: custom scrollbar */
#filterSidebar::-webkit-scrollbar {
  width: 6px;
}
#filterSidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}

/* Slide-down and slide-up animations */
@keyframes slideDown {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes slideUp {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

.slide-down {
  animation: slideDown 0.5s forwards;
}
.slide-up {
  animation: slideUp 0.5s forwards;
}
/* Validation Card (reuses search-card but adds danger colors) */
.validation-card {
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  background-color: #ff4d4f;   /* danger red */
  color: #fff;                 /* text white */
  border: 1px solid #ff7875;   /* slightly darker red border */
  width: 400px;
  max-width: 90%;
  font-weight: 600;
  font-size: 0.95rem;
  top: 20px;                   /* distance from top of page */
}

/* Slide animations */
@keyframes slideDown {
  0% { transform: translateY(-120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes slideUp {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-120%); opacity: 0; }
}

.slide-down {
  animation: slideDown 0.5s forwards;
}

.slide-up {
  animation: slideUp 0.5s forwards;
}

.justified-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* spacing between images */
  justify-content: center;
}

.justified-item {
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s;
}

.justified-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s;
}

.justified-item:hover img {
  transform: scale(1.05);
}