/* ============================================================
   Tourfic Properties – Immersive Property Card Slider
   ============================================================ */

/* ── Slider ── */
.tfpc-slider-wrapper {
    position: relative;
}

.tfpc-slider .slick-slide {
    margin: 0 10px;
    height: auto !important;
    float: none !important;
}

.tfpc-slider .slick-list {
    margin: 0 -10px;
}

.tfpc-slider .slick-track {
    display: flex !important;
}

.tfpc-slider .slick-slide > div {
    height: 100%;
}

.tfpc-slide {
    height: 100%;
}

/* ── Card ── */
.tfpc-card {
    position: relative;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.tfpc-card-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

/* ── Image ── */
img.tfpc-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ── Overlay ── */
.tfpc-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.70) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.10) 75%,
        transparent 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tfpc-card:hover .tfpc-card-overlay {
    opacity: 1;
}

/* ── Content ── */
.tfpc-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tfpc-card:hover .tfpc-card-content {
    opacity: 1;
    transform: translateY(0);
}

/* ── Meta row ── */
.tfpc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tfpc-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

.tfpc-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.tfpc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.tfpc-badge i {
    font-size: 11px;
}

/* ── Stars ── */
.tfpc-stars {
    display: flex;
    gap: 3px;
    color: #f5a623;
    font-size: 14px;
}

/* ── Title ── */
.tfpc-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 4px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Footer ── */
.tfpc-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 6px;
}

.tfpc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background-color: #5CD4C0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.tfpc-btn:hover {
    background-color: #4ac4b0;
}

.tfpc-price {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* ── Arrows ── */
.tfpc-slider-wrapper .tfpc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #1a1a2e;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
    transition: all 0.3s ease;
    padding: 0;
    line-height: 0;
}

.tfpc-slider-wrapper .tfpc-arrow:hover {
    background: #fff;
    color: #5CD4C0;
    transform: translateY(-50%) scale(1.06);
}

.tfpc-slider-wrapper .tfpc-arrow.slick-prev { left: 8px; }
.tfpc-slider-wrapper .tfpc-arrow.slick-next { right: 8px; }

.tfpc-slider-wrapper .slick-prev:before,
.tfpc-slider-wrapper .slick-next:before {
    content: none !important;
}

/* ── Dots ── */
.tfpc-slider-wrapper .slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    bottom: auto !important;
}

.tfpc-slider-wrapper .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

.tfpc-slider-wrapper .slick-dots li button:before { content: none !important; }

.tfpc-slider-wrapper .slick-dots li.slick-active button {
    background: #5CD4C0;
    width: 28px;
    border-radius: 14px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .tfpc-card { height: 360px; }
    .tfpc-title { font-size: 14px; }
}

@media (max-width: 480px) {
    .tfpc-card { height: 320px; }
}
