/**
 * Featured Property Slider Styles
 * Meraki Real Estate - Featured Properties Section
 */

.featured-property-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    /* Will be overridden by jQuery for full-width breakout */
    box-sizing: border-box;
}

.featured-property-slider {
    position: relative;
    width: 100%;
    height: 100vh;          /* full screen hero */
    max-height: 900px;      /* optional cap, adjust if needed */
    overflow: hidden;
}

.property-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-slide.active {
    opacity: 1;
    z-index: 2;
}

/* FULL BACKGROUND IMAGE LAYER */
.property-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark overlay for text readability */
.property-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.property-slide-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    height: 100%;
}

.property-info {
    color: #fff;
}

/* TYPOGRAPHY */
.property-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.property-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #fff;
}

.property-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    max-width: 500px;
}

/* FEATURE BADGES */
.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(10px);
}

.feature-badge svg {
    width: 14px;
    height: 14px;
}

/* CTA BUTTON */
.property-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #8B0000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.property-cta:hover {
    background: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

/* HIDE SMALL IMAGE BOX – FULL BACKGROUND ONLY */
.property-image-preview {
    display: none;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
    align-items: center;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .property-slide-content {
        padding: 0 30px;
    }

    .property-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .featured-property-slider {
        height: 70vh;
        max-height: none;
    }

    .property-slide-content {
        padding: 40px 20px;
    }

    .property-title {
        font-size: 28px;
    }

    .property-description {
        font-size: 14px;
    }

    .slider-controls {
        bottom: 20px;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}