/* Galería de propiedades */
.property-gallery {
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.02);
}

.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #3498db;
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: #e74c3c;
}

.no-images {
    background: #f8f9fa;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    color: #666;
}

/* Modal para imagen completa */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    max-height: 80vh;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #ccc;
}

/* Características de propiedad */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.feature:last-child {
    border-bottom: none;
}

/* Agente */
.agent-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
    background: #f8f9fa;
}

.agent-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-info h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Precios */
.price-section {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-tag {
    font-size: 1.2em;
    margin: 10px 0;
    color: #27ae60;
}

/* Descripción */
.description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 1.6;
}

/* Responsive para galería */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    
    .thumbnails {
        justify-content: center;
    }
    
    .agent-card {
        flex-direction: column;
        text-align: center;
    }
    
    .agent-photo {
        margin: 0 auto;
    }
}