/* Region Villas Carousel Component Styles */
.region-villas-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.region-villas-section .container {
    max-width: 1200px;
}

.region-villas-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.region-villas-section .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.region-villas-section .section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color, #ff6a00);
    bottom: -10px;
    left: calc(50% - 30px);
    border-radius: 2px;
}

/* Villa Card Styling */
.villa-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    background-color: #fff;
    position: relative;
}

.villa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Image Container */
.villa-card .image-container {
    position: relative;
    overflow: hidden;
    height: 180px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.villa-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Öne Çıkan Badge */
.one-cikan {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: #ff6a00;
    color: white;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Card Body */
.villa-card .card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.villa-card .card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.villa-card .card-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.villa-card .card-location i {
    color: #ff6a00;
    margin-right: 5px;
    font-size: 14px;
}

/* Villa Features */
.villa-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.villa-features span {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.villa-features span i {
    margin-right: 5px;
    color: #ff6a00;
}

.villa-card .price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.villa-card .price {
    display: flex;
    flex-direction: column;
}

.villa-card .price .amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color, #2563eb);
    line-height: 1;
}

.villa-card .price .period {
    font-size: 12px;
    color: #666;
}

.region-villas-carousel {
    padding-bottom: 50px;
}

.region-villas-carousel .swiper-pagination {
    bottom: 0px;
}

.region-villas-carousel .swiper-button-next,
.region-villas-carousel .swiper-button-prev {
    color: var(--primary-color, #2563eb);
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.region-villas-carousel .swiper-button-next:after,
.region-villas-carousel .swiper-button-prev:after {
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .region-villas-section .section-title h2 {
        font-size: 24px;
    }
    
    .villa-card .image-container {
        height: 180px;
    }
    
    .villa-card .card-title {
        font-size: 16px;
        min-height: 40px;
    }
    
    .villa-features {
        flex-direction: column;
        gap: 5px;
    }
    
    .region-villas-carousel .swiper-button-next,
    .region-villas-carousel .swiper-button-prev {
        display: none;
    }
}
