/* Property image styling */
.property-image-container {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.no-image {
    color: #999;
    font-size: 14px;
    text-align: center;
    font-style: italic;
}

/* Property catalog specific image styling */
.properties-list .property-image-container {
    height: 200px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.properties-list .property-image {
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.properties-list li:hover .property-image {
    transform: scale(1.05);
}

.properties-list .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

/* Property Detail Container */
.property-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.property-info {
    margin-top: 40px;
    margin-bottom: 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
}

.property-info h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

.property-info p {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.property-info p:first-of-type {
    font-size: 1.3rem;
    color: #2c3e50;
    background: rgba(46, 204, 113, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #2ecc71;
    margin: 20px 0;
}

.property-info strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Image Carousel Styles */
.image-carousel-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255,255,255,0.8);
}

/* Image Counter */
.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-detail-container {
        margin: 10px;
        padding: 15px;
    }
    
    .property-info h1 {
        font-size: 1.5rem;
    }
    
    .property-info p {
        font-size: 1rem;
    }
    
    .carousel-container {
        aspect-ratio: 4/3;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .image-counter {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        padding: 15px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Loading State */
.carousel-slide img {
    background: #f0f0f0;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                      linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* No Images Message */
.image-carousel-container p {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0;
} 