/**
 * Commercial Home Carousel CSS
 * Save as: assets/css/commercialhomecarousel.css
 */

/* Reset and base styles */
.commercialhomecarousel-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Main container */
.commercialhomecarousel-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0px;
    font-family: 'Arial', sans-serif;
}

/* Title and view all button */
.commercialhomecarousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.commercialhomecarousel-title {
    font-family: Lufga;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    text-transform: capitalize;
    color: #ffffff;
}

.commercialhomecarousel-view-all {
    display: inline-block;
    width: 165px;
    height: 56px;
    padding: 16px 24px;
    gap: 8px;
    background-color: #0d0d0f;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-family: Lufga;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0%;
    transition: all 0.3s ease;
}

.commercialhomecarousel-view-all:hover {
    background-color: #ffffff;
    color : #0D0D0F;
}

/* Carousel */
.commercialhomecarousel-carousel {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
}

/* Property card */
.commercialhomecarousel-card {
    width: 402.67px !important;
    height: 408px !important;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background-color: #2C2C2E;
    display: flex !important;
    flex-direction: column !important;
    cursor: pointer;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.commercialhomecarousel-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    background-color: #3C3C3E; /* Потемна сива боја при hover */
}

/* Image */
.commercialhomecarousel-image {
    width: 100%;
    height: 204px;
    overflow: hidden;
    position: relative;
}

.commercialhomecarousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.commercialhomecarousel-card:hover .commercialhomecarousel-image img {
    transform: scale(1.05);
}

/* Details */
.commercialhomecarousel-details {
    padding: 20px
    ;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: transparent; /* Променето за да се гледа ефектот на background-color */
    color: #ffffff;
}

/* Title */
.commercialhomecarousel-details h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

/* Address */
.commercialhomecarousel-address {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features */
.commercialhomecarousel-features {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
    gap: 25px;
}

.commercialhomecarousel-beds,
.commercialhomecarousel-baths,
.commercialhomecarousel-sqft {
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.commercialhomecarousel-features i {
    margin-right: 5px;
    color: #ffffff;
}

/* Price section */
.commercialhomecarousel-price-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.commercialhomecarousel-price-divider {
    height: 1px;
    background-color: #444444;
    margin: 15px 0;
    width: 100%;
}

.commercialhomecarousel-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commercialhomecarousel-price {
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 2%;

}

.commercialhomecarousel-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background-color: #444444;
    border: 1px solid #555555;
    border-radius: 20px;
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
}

/* Navigation */
.commercialhomecarousel-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Dots */
.commercialhomecarousel-dots {
    display: flex;
}

.commercialhomecarousel-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #888888;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.commercialhomecarousel-dots .dot.active {
    background-color: #ffffff;
}

/* Arrows */
.commercialhomecarousel-arrows {
    display: flex;
    gap: 10px;
}

.commercialhomecarousel-prev,
.commercialhomecarousel-next {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2C2C2E;
    border: 1px solid #444444;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.commercialhomecarousel-prev:hover,
.commercialhomecarousel-next:hover {
    background-color: #444444;
}

/* No results message */
.commercialhomecarousel-no-results {
    color: #ffffff;
    text-align: center;
    padding: 30px;
    width: 100%;
}

/* Slick fixes */
.slick-track {
    display: flex !important;
    margin-left: 0;
}

.slick-slide {
    height: inherit !important;
    display: flex !important;
    justify-content: center;
    align-items: stretch;
}

.slick-slide > div {
    width: 100%;
    display: flex !important;
    align-items: stretch;
}

/* Responsive styles */
@media (max-width: 1280px) {
    .commercialhomecarousel-card {
        width: 340px !important;
        height: auto !important;
    }
    
    .commercialhomecarousel-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .commercialhomecarousel-header {
        flex-direction: column;
        align-items: center;
    }
    
    .commercialhomecarousel-view-all {
        margin-top: 15px;
    }
    
    .commercialhomecarousel-card {
        width: 100% !important;
    }
    
    .commercialhomecarousel-image {
        height: 220px;
    }
    
    .commercialhomecarousel-features {
        flex-wrap: wrap;
        row-gap: 10px;
    }
    
    .commercialhomecarousel-nav-container {
        flex-direction: column;
        gap: 20px;
    }
.commercialhomecarousel-container{
padding-left:10px;
}