/*
 * Featured Properties Styles - New 3-Section Layout
 * 1. Title (full width) | 2. Image + Details (2 columns) | 3. Location (full width)
 */

/* Featured specific color variables */
:root {
    --primary-color: #7d0208;
    --dark-color: #000000;
    --text-color: #1e1b39;
    --light-bg: #EDF5F8;
}

/* Section Headding */
.sc_subtitle span{
    border-left: 10px solid var(--primary-color);
    padding: 18px 10px;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
    color: var(--dark-color);
    display: inline-block;
}
.sc_subtitle span::after {
    content: "";
    clear: both;
    display: block;
    position: absolute;
    width: 100px;
    height: 10px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
}
.sc_subtitle span::before {
    content: "";
    clear: both;
    display: block;
    position: absolute;
    width: 50px;
    height: 10px;
    background: var(--primary-color);
    left: 0;
    top: 0;
}
.sc_title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 20px;
}

/* Featured Projects - New Layout */
.section-padding .product-item.featured-new-layout {
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
    overflow: hidden;
    box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.1);
    border-radius: 8px;
    background: #fff;
    position: relative;
}

.section-padding .product-item.featured-new-layout:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0px 15px 35px 0px rgba(0,0,0,0.25);
}

/* Ensure tooltip works properly */
.product-item.featured-new-layout[data-toggle="tooltip"] {
    cursor: pointer !important;
}

/* Title Shadow Effect */
.title-shadow {
    color: #7d0208 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.title-shadow:hover {
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    color: #7d0208 !important;
}

/* 1. Title Section - Full Width */
.featured-new-layout .featured-title-full {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    position: relative;
}

.featured-new-layout .featured-title-full::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
}

.featured-new-layout .featured-title-full .title {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
}

.featured-new-layout .featured-title-full .title a {
    color: var(--dark-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.featured-new-layout .featured-title-full .title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 2. Content Row - Image + Details */
.featured-new-layout .featured-content-row {
    min-height: 250px;
}

/* Left Column - Image */
.featured-new-layout .thumbnail {
    margin: 0;
    border-radius: 0;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.featured-new-layout .thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.featured-new-layout:hover .thumbnail img {
    transform: scale(1.08);
}

/* Right Column - Details */
.featured-new-layout .featured-details {
    padding: 20px;
    background: #fff;
    height: 250px;
    border-left: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.featured-new-layout .details-header {
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-new-layout .price-section {
    margin-bottom: 15px;
}

.featured-new-layout .price-section .price span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 22px;
}

/* Property Lists in Details */
.featured-new-layout .property-lists {
    padding: 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
    flex-grow: 1;
}

.featured-new-layout .property-lists ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.featured-new-layout .property-lists ul li {
    display: block;
    padding: 2px 0;
    font-size: 14px;
}

.featured-new-layout .property-lists ul li:last-child {
    border-bottom: none;
}

.featured-new-layout .property-lists ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 18px;
}

.featured-new-layout .property-lists ul li span {
    color: var(--text-color);
    font-weight: 500;
}

/* 3. Location Section - Full Width */
.featured-new-layout .featured-location-full {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    position: relative;
}

.featured-new-layout .featured-location-full::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
}

.featured-new-layout .featured-location-full .location {
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.featured-new-layout .featured-location-full .location i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 16px;
}

/* Badge styling override */
.section-padding .product-item .thumbnail .badge {
    background: #7d0208;
    color: #fff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 15;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Section Spacing */
.section-padding{
    padding: 100px 0px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .featured-new-layout .featured-details {
        border-left: none;
        border-top: 1px solid #e9ecef;
        height: auto;
        min-height: 200px;
    }
    
    .featured-new-layout .thumbnail {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .sc_title {
        font-size: 28px;
    }
    
    .sc_subtitle span {
        font-size: 16px;
        padding: 12px 8px;
    }
    
    .section-padding {
        padding: 60px 0px;
    }
    
    .mb-50 {
        margin-bottom: 30px;
    }
    
    .featured-new-layout .featured-title-full {
        padding: 15px 20px;
    }
    
    .featured-new-layout .featured-title-full .title {
        font-size: 18px;
    }
    
    .featured-new-layout .thumbnail {
        height: 180px;
    }
    
    .featured-new-layout .featured-details {
        padding: 15px;
        min-height: 180px;
    }
    
    .featured-new-layout .details-header {
        font-size: 14px;
    }
    
    .featured-new-layout .featured-location-full {
        padding: 12px 20px;
    }
    
    .featured-new-layout .featured-location-full .location {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .featured-new-layout .featured-title-full .title {
        font-size: 16px;
    }
    
    .featured-new-layout .thumbnail {
        height: 160px;
    }
    
    .featured-new-layout .featured-details {
        min-height: 160px;
    }
    
    .featured-new-layout .price-section .price span {
        font-size: 18px;
    }
    
    .featured-new-layout .property-lists ul li {
        font-size: 13px;
    }
}