/* Custom CSS */

/* Location Section - Grid layout */
.service-area .row.gy-4 {
    display: flex;
    justify-content: center;
}

.location-item.style-two {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    max-width: 282px;
    height: 352px;
    position: relative;
    transition: all 0.3s ease-in-out;
    margin: 0 auto;
}

.location-item.style-two:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.location-item.style-two .location-item__thumb {
    height: 100%;
    width: 100%;
    position: relative;
}

.location-item.style-two .location-item__thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s ease-in-out;
}

.location-item.style-two:hover .location-item__thumb img {
    transform: scale(1.1);
}

.location-item.style-two .location-item__thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    border-radius: 20px;
    z-index: 1;
}

.location-item.style-two .content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.location-item.style-two .content .title-two {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.location-item.style-two .content .price-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 0;
}

.section-heading .subtitle {
    color: hsl(var(--base)) !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* Section Heading with View All */
.section-heading-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-heading-wrap .section-heading {
    margin-bottom: 0;
}

/* View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--base));
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: hsl(var(--base));
    color: #fff;
}

.view-all-btn span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover span {
    transform: translateX(5px);
}

.service-area.pt-60.pb-120 {
    padding-bottom: 60px !important;
}

.location-slider {
    padding-bottom: 40px;
    /* Space for dots */
}

@media (max-width: 767px) {
    .section-heading-wrap {
        margin-bottom: 20px;
    }

    .section-heading .title-one {
        font-size: 24px !important;
    }

    .view-all-btn {
        font-size: 14px;
        padding: 5px 0;
    }

    .service-area .row.gy-4 {
        gap: 15px;
    }

    .location-item.style-two {
        width: 100%;
        max-width: none;
        height: 300px;
    }
}

/* Slick specific fixes for bootstrap rows */
.location-slider .slick-track {
    display: flex !important;
    gap: 0;
}

.location-slider .slick-slide {
    padding: 0 10px;
}

.location-slider.row {
    margin-left: -10px;
    margin-right: -10px;
}

.location-slider .col-xl-3 {
    padding: 0;
    /* Remove bootstrap padding as we handle it with slick-slide padding */
}

/* Styled Carousel Dots */
.location-slider .slick-dots {
    bottom: -25px;
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.location-slider .slick-dots li {
    margin: 0 5px;
}

.location-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 100%;
    height: 12px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #cbd5e1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.location-slider .slick-dots li.slick-active button {
    background: hsl(var(--base));
    width: 30px;
    border-radius: 10px;
}

/* Hostel Card Styles */
.hostel-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.hostel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hostel-card__thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hostel-card__thumb a {
    display: block;
    height: 100%;
    width: 100%;
}

.hostel-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hostel-card:hover .hostel-card__thumb img {
    transform: scale(1.1);
}

.hostel-card__rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hostel-card__rating i {
    color: #f59e0b;
}

.hostel-card__content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hostel-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.hostel-card__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 0;
    color: #1e293b;
    flex: 1;
    padding-right: 10px;
}

.hostel-card__price {
    font-size: 20px;
    font-weight: 800;
    color: hsl(var(--base));
}

.hostel-card__price span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.hostel-card__location {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hostel-card__facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 5px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.hostel-card__facility {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hostel-card__facility i {
    font-size: 14px;
    color: #1e293b;
}

.load-more-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.btn-load-more {
    background: hsl(var(--base));
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-load-more:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    color: #fff;
}