/* Custom Styling for Listing Layout */

.layout-one {
    flex-direction: row;
    width: 100%;
}

.layout-one .img-gallery {
    width: 38%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.layout-one .property-info {
    width: 62%;
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Improve tags and buttons */
.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.tag.sale {
    background: #ff6b35;
}

.img-slider-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Fix listing card spacing */
.listing-card-seven {
    margin-bottom: 30px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.listing-card-seven:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .layout-one {
        flex-direction: column;
    }
    
    .layout-one .img-gallery {
        width: 100%;
        height: 280px;
        margin-bottom: 20px;
    }
    
    .layout-one .property-info {
        width: 100%;
        padding-left: 0;
    }
}

/* Add this in case the carousel arrows are still not showing properly */
.slick-arrow {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.slick-prev, .slick-next {
    font-size: 24px !important;
    color: #fff !important;
    background: rgba(0,0,0,0.5) !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50% !important;
    z-index: 9 !important;
}

/* Bootstrap Carousel Arrows */
.carousel-control-prev,
.carousel-control-next {
    opacity: 1 !important;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    margin: 0 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Add hover effect to listing cards */
.listing-card-seven {
    transition: all 0.3s ease;
}

.listing-card-seven.hover-active,
.listing-card-seven:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Improve property info display */
.property-info .title {
    font-size: 20px;
    font-weight: 600;
    color: #043d67;
    text-decoration: none;
}

.property-info .address {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* Fix action buttons */
.action-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f7f7f7;
    border-radius: 50%;
    color: #777;
    transition: all 0.3s ease;
}

.action-icons li a:hover {
    background: #043d67;
    color: white;
}

.action-icons li a.active {
    background: #043d67;
    color: white;
}
