/* ── PROPERTY DEMO CAROUSEL COMPONENT ── */
.property-demo-section {
    padding: var(--spacing-2xl) 0;
    background:
        linear-gradient(180deg, rgba(67, 56, 202, 0.015) 0%, transparent 30%);
    position: relative;
}

.carousel-container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

.slide-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: var(--accent-light);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--spacing-sm);
}

.slide-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.c-prop-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-xs);
}

.c-prop-location i {
    color: var(--accent);
}

.c-prop-stats {
    display: flex;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.c-prop-stats i {
    color: var(--accent);
}

.c-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: var(--accent-light);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
}

.c-tag i {
    font-size: 0.75rem;
}

/* Slide 1: Featured Split */
.c-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border: 1px solid rgba(67, 56, 202, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.c-featured-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.c-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-featured-image.img-fallback {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.c-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-pill);
    color: #FFF;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    box-shadow: 0 2px 8px rgba(67, 56, 202, 0.3);
}

.c-featured-price {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    color: #FFF;
    font-size: var(--text-2xl);
    font-weight: var(--fw-extrabold);
}

.c-featured-details {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-featured-details h3 {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.c-featured-details p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-sm);
}

.c-prop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

/* Slide 2: Grid Card */
.c-grid-card {
    background: var(--white);
    border: 1px solid rgba(67, 56, 202, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    max-width: 550px;
    margin: 0 auto;
}

.c-grid-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.c-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-grid-image.img-fallback {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.c-grid-price {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    color: #FFF;
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
}

.c-grid-details {
    padding: var(--spacing-md);
}

.c-grid-details h4 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.c-grid-details p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-sm);
}

/* Slide 3: Modern Overlay */
.c-modern {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.c-modern-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.c-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-modern-image.img-fallback {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.c-modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFF;
}

.c-modern-price {
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    margin-bottom: 0.25rem;
}

.c-modern-overlay h3 {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: #FFF;
    margin-bottom: var(--spacing-xs);
}

.c-modern-overlay .c-prop-location {
    color: rgba(255, 255, 255, 0.8);
}

.c-modern-overlay .c-prop-location i {
    color: #FFF;
}

.c-modern-overlay .c-prop-stats {
    color: rgba(255, 255, 255, 0.8);
}

.c-modern-overlay .c-prop-stats i {
    color: #FFF;
}

.c-modern-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.c-modern-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
}

.c-modern-highlights i {
    color: #3fb950;
    font-size: 0.875rem;
}

/* Slide 4: Minimal Card */
.c-minimal {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.c-minimal-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.c-minimal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-minimal-image.img-fallback {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.c-minimal-details {
    padding: var(--spacing-md);
    text-align: center;
}

.c-minimal-price {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.c-minimal-details h4 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.c-minimal-details .c-prop-location {
    justify-content: center;
}

.c-minimal-details .c-prop-stats {
    justify-content: center;
}

.c-minimal-details p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-sm);
}

/* Slide 5: Horizontal List */
.c-list {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid rgba(67, 56, 202, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.c-list-image {
    width: 260px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.c-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-list-image.img-fallback {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.c-list-details {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.c-list-price {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.c-list-details h4 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.c-list-details p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-sm);
    flex: 1;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(67, 56, 202, 0.15);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #FFF;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.3);
}

.carousel-prev {
    left: 0.5rem;
}

.carousel-next {
    right: 0.5rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-lg);
}

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

.carousel-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: rgba(67, 56, 202, 0.4);
}