/* Property Card Design inspired by Supreme Exports with a 2026 Premium feel */

.property-card {
    position: relative; /* Added for absolute positioned children like tags */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.property-image-slider {
    position: relative;
    width: 100%;
    height: 250px; /* Fixed height for even sizing */
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback background */
}

.property-image-slider img {
    width: 100%;
    height: 250px; /* Match container height */
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.property-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #003d4d;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Slick Customization */
.property-image-slider .slick-prev,
.property-image-slider .slick-next {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 0;
}

.property-card:hover .property-image-slider .slick-prev,
.property-card:hover .property-image-slider .slick-next {
    opacity: 1;
}

.property-image-slider .slick-prev:hover,
.property-image-slider .slick-next:hover {
    background: rgba(255, 255, 255, 0.9);
}

.property-image-slider .slick-prev { left: 15px; }
.property-image-slider .slick-next { right: 15px; }

.property-image-slider .slick-prev:before,
.property-image-slider .slick-next:before {
    font-family: 'bootstrap-icons';
    font-size: 18px;
    color: #003d4d;
    opacity: 1;
}

.property-image-slider .slick-prev:before { content: "\f12c"; }
.property-image-slider .slick-next:before { content: "\f135"; }

.property-image-slider .slick-dots {
    bottom: 15px;
}

.property-image-slider .slick-dots li button:before {
    color: #fff;
    font-size: 10px;
    opacity: 0.5;
}

.property-image-slider .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

.property-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px; /* Ensure even card height */
}

.property-info h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #003d4d;
}

.property-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-info h4 a:hover {
    color: #1685b6;
}

.property-location {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.property-location i {
    color: #1685b6;
    margin-right: 8px;
}

.property-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.property-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #003d4d;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: #1685b6;
    transform: translateX(5px);
}

.explore-btn i {
    margin-left: 10px;
}

/* Page Title Customization */
.section-main-title h2 {
    font-weight: 800;
    color: #003d4d;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1685b6;
    border-radius: 2px;
}
