/* --- Elegant Glassmorphism Navbar --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px); /* Blurred glass effect */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 10px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

/* --- Elegant Light Steel Blue Navbar --- */
.navbar-custom {
    /* A soft, dimmed light-blue gradient */
    background: linear-gradient(135deg, #4b79a1 0%, #283e51 100%) !important;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navbar Brand Spacing */
.navbar-brand {
    letter-spacing: 0.5px;
    font-size: 1.25rem;
}

/* Links color adjustment for light blue background */
.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: #ffffff !important;
    opacity: 1;
}

/* Button Refinements */
.rounded-pill {
    border-radius: 50px !important;
}

/* Ensures the sticky navbar has a premium feel */
.sticky-top {
    z-index: 1020;
}

/* --- Full-Width Carousel Logic --- */
.carousel-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -24px; /* Pulls slider up to touch the navbar */
}

.carousel-container {
    height: 75vh; /* Larger, more immersive height */
    min-height: 500px;
}

.carousel-img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Prevents image stretching */
}

.carousel-overlay {
    
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

/* Custom Caption Polish */
.custom-caption {
    bottom: 20%; /* Centers text better visually */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Floating Search Card */
.floating-search {
    margin-top: -100px; /* Overlaps the slider for a modern look */
    z-index: 5;
    position: relative;
}


.review-card {
    max-width: 350px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #0d6efd;
}

.review-stars {
    color: #ffc107;
    font-size: 0.75rem; 
    margin-bottom: 8px;
}

.review-text {
    font-size: 0.9rem; 
    line-height: 1.5;
    color: #555;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-author {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
}

/* --- Destination Page Styling --- */

/* Search Bar Wrapper */
.search-wrapper {
    border: 1px solid #e9ecef !important;
}

.border-start-divider {
    border-left: 1px solid #dee2e6;
}

/* Hotel Card Hover Effects */
.hotel-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

/* Image Container & Zoom */
.card-img-container {
    height: 180px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotel-card:hover .card-img-top {
    transform: scale(1.1);
}

/* Wishlist Button */
.wishlist-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.wishlist-icon-btn:hover {
    transform: scale(1.1);
}

/* Price Section */
.price-container {
    background-color: #f8f9fa;
    padding: 12px;
    border: 1px solid #f1f3f5;
}

/* Responsive Fix for Dividers */
@media (max-width: 991px) {
    .border-start-divider {
        border-left: none;
        border-top: 1px solid #dee2e6;
        padding-top: 5px;
    }
}

/* --- Elegant Custom Search Button --- */
.btn-search-custom {
    background-color: #3461ba !important; /* Elegant Soft Blue */
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-search-custom:hover {
    background-color: #284987 !important; /* Slightly deeper blue on hover */
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

.btn-search-custom:active {
    transform: translateY(0);
}

/* --- Custom Elegant Blue Theme --- */

/* Backgrounds */
.bg-custom-blue {
    background-color: #284987 !important;
}

/* Icons and Headings */
.text-custom-blue {
    color: #284987 !important;
}

/* Buttons */
.btn-custom-blue {
    background-color: #284987 !important;
    border: 1px solid #284987;
    transition: all 0.3s ease;
}

.btn-custom-blue:hover {
    background-color: #1e3a6d !important; /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 73, 135, 0.3);
}

/* Helper for smooth corners */
.rounded-4 {
    border-radius: 1.5rem !important;
}